diff options
-rw-r--r-- | cryptography/bindings/openssl/api.py | 3 | ||||
-rw-r--r-- | tox.ini | 8 |
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() @@ -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 |