aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-20 12:24:21 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-20 12:24:21 -0600
commit9b1c2fca28a250c2a54ad72502133b91fd3d6f05 (patch)
treee86f1ec04723e702bce1d88f01739a434446dcc8 /.travis
parentcd10571261ad24dcd0dc63c9703289faccd841a8 (diff)
downloadcryptography-9b1c2fca28a250c2a54ad72502133b91fd3d6f05.tar.gz
cryptography-9b1c2fca28a250c2a54ad72502133b91fd3d6f05.tar.bz2
cryptography-9b1c2fca28a250c2a54ad72502133b91fd3d6f05.zip
experiment to disable duplicate cc test runs on osx and speed up travis
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/run.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis/run.sh b/.travis/run.sh
index 4c01d67a..76d0445f 100755
--- a/.travis/run.sh
+++ b/.travis/run.sh
@@ -10,7 +10,12 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
export ARCHFLAGS="-arch x86_64"
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CFLAGS="-I/usr/local/opt/openssl/include"
+ # The Travis OS X jobs are run for two versions
+ # of OpenSSL, but we only need to run the
+ # CommonCrypto backend tests once. Exclude
+ # CommonCrypto when we test against brew OpenSSL
+ export TOX_FLAGS="-- --backend=openssl"
fi
fi
source ~/.venv/bin/activate
-tox -e $TOX_ENV
+tox -e $TOX_ENV $TOX_FLAGS