aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-09-30 16:54:39 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-09-30 16:54:39 -0700
commit479cc0902e0243b59284145932e73ce0ea2ecf09 (patch)
treeb1fc8e9c16b9c3ea1268af2a10e44f499ab8c472
parente63f0c1bea8ee0c3986a92026493109f62bb3f05 (diff)
downloadcryptography-479cc0902e0243b59284145932e73ce0ea2ecf09.tar.gz
cryptography-479cc0902e0243b59284145932e73ce0ea2ecf09.tar.bz2
cryptography-479cc0902e0243b59284145932e73ce0ea2ecf09.zip
Do this always
-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