From 9efa989d096fad71e8b0889cbe5f4a287eee0e46 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 30 Sep 2013 15:11:25 -0700 Subject: A tox thing which attempts to check for errors (should be failing now) --- .travis.yml | 1 + tox.ini | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index defcd77b..f68d5ff6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: python python: 2.7 env: + - TOX_ENV=cffi - TOX_ENV=py26 - TOX_ENV=py27 - TOX_ENV=py32 diff --git a/tox.ini b/tox.ini index 4d17ebe8..0b7acd66 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,pypy,py32,py33,docs,pep8 +envlist = cffi,py26,py27,pypy,py32,py33,docs,pep8 [testenv] deps = @@ -7,6 +7,14 @@ deps = pretend commands = py.test --cov=cryptography/ --cov=tests/ +[testenv:cffi] +basepython = python2.7 +install_command = +setenv = + CFLAGS="-Wall -Wconversion -Wpedantic -Werror" +commands = + python -c "import cryptography.bindings.openssl" + [testenv:docs] deps = sphinx basepython = python2.7 -- cgit v1.2.3