From 479cc0902e0243b59284145932e73ce0ea2ecf09 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 30 Sep 2013 16:54:39 -0700 Subject: Do this always --- cryptography/bindings/openssl/api.py | 3 ++- 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() 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 -- cgit v1.2.3