aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2015-10-19 17:03:35 +0200
committerHynek Schlawack <hs@ox.cx>2015-10-21 13:04:34 +0200
commit8ff2ad922928ec08b74c7434e7db8ae0869ee6e6 (patch)
tree02b90e3ed99421b34cc7665b6f44c68a58ddeab8 /tox.ini
parent47db7a4260ac4e3835ab41e2e13281c700417ba1 (diff)
downloadpyopenssl-8ff2ad922928ec08b74c7434e7db8ae0869ee6e6.tar.gz
Add a twisted target to CI
Twisted is our most important downstream user. In order to avoid another regression release like 0.15.1, we add it to our CI
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 11 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 1a8a723..5b00d5c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,10 +1,10 @@
[tox]
-envlist = coverage-clean,{pypy,py26,py27,py33,py34,py35}{,-cryptographyMaster},pypi-readme,check-manifest,flake8,docs,coverage-report
+envlist = coverage-clean,{pypy,py26,py27,py33,py34,py35}{,-cryptographyMaster},py27-twisted,pypi-readme,check-manifest,flake8,docs,coverage-report
[testenv]
whitelist_externals =
openssl
-passenv = ARCHFLAGS CFLAGS LC_ALL LDFLAGS PATH LD_LIBRARY_PATH
+passenv = ARCHFLAGS CFLAGS LC_ALL LDFLAGS PATH LD_LIBRARY_PATH TERM
deps =
coverage
pytest
@@ -19,6 +19,15 @@ commands =
python -c "import cryptography; print(cryptography.__version__)"
coverage run --parallel -m pytest tests
+[testenv:py27-twisted]
+deps =
+ twisted
+passenv = ARCHFLAGS CFLAGS LC_ALL LDFLAGS PATH LD_LIBRARY_PATH TERM
+commands =
+ python -c "import OpenSSL.SSL; print(OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION))"
+ python -c "import cryptography; print(cryptography.__version__)"
+ trial twisted
+
[testenv:flake8]
deps =
flake8