aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/bindings/openssl/api.py3
-rw-r--r--tox.ini8
2 files changed, 3 insertions, 8 deletions
diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py
index d648d491..5b58c775 100644
--- a/cryptography/bindings/openssl/api.py
+++ b/cryptography/bindings/openssl/api.py
@@ -41,7 +41,8 @@ class API(object):
self.lib = self.ffi.verify(
source="\n".join(includes),
- libraries=["crypto"]
+ libraries=["crypto"],
+ extra_compile_args=["-Wall", "-Werror", "-Wpedantic", "-Wconversion"]
)
self.lib.OpenSSL_add_all_algorithms()
diff --git a/tox.ini b/tox.ini
index b4b20ec4..4d17ebe8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = cffi,py26,py27,pypy,py32,py33,docs,pep8
+envlist = py26,py27,pypy,py32,py33,docs,pep8
[testenv]
deps =
@@ -7,12 +7,6 @@ deps =
pretend
commands = py.test --cov=cryptography/ --cov=tests/
-[testenv:cffi]
-basepython = python2.7
-commands =
- git clean -x -f -d
- CFLAGS="-Wall -Wconversion -Werror" python -c "import cryptography.bindings.openssl"
-
[testenv:docs]
deps = sphinx
basepython = python2.7