aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--tox.ini10
2 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index defcd77b..f68d5ff6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,7 @@
language: python
python: 2.7
env:
+ - TOX_ENV=cffi
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py32
diff --git a/tox.ini b/tox.ini
index 4d17ebe8..0b7acd66 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py26,py27,pypy,py32,py33,docs,pep8
+envlist = cffi,py26,py27,pypy,py32,py33,docs,pep8
[testenv]
deps =
@@ -7,6 +7,14 @@ deps =
pretend
commands = py.test --cov=cryptography/ --cov=tests/
+[testenv:cffi]
+basepython = python2.7
+install_command =
+setenv =
+ CFLAGS="-Wall -Wconversion -Wpedantic -Werror"
+commands =
+ python -c "import cryptography.bindings.openssl"
+
[testenv:docs]
deps = sphinx
basepython = python2.7