diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-09-30 16:54:39 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-09-30 16:54:39 -0700 |
commit | 479cc0902e0243b59284145932e73ce0ea2ecf09 (patch) | |
tree | b1fc8e9c16b9c3ea1268af2a10e44f499ab8c472 | |
parent | e63f0c1bea8ee0c3986a92026493109f62bb3f05 (diff) | |
download | cryptography-479cc0902e0243b59284145932e73ce0ea2ecf09.tar.gz cryptography-479cc0902e0243b59284145932e73ce0ea2ecf09.tar.bz2 cryptography-479cc0902e0243b59284145932e73ce0ea2ecf09.zip |
Do this always
-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 |