diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-09-05 21:44:29 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-09-05 22:44:29 -0400 |
commit | f88aea5d8b9452677bd23a9bba917b900cd634c0 (patch) | |
tree | beb2b819e25f6f8cc365d6870915960c6547ea76 /.travis | |
parent | 18d49d0c6cd117e82934f65e641c1d830edd20df (diff) | |
download | cryptography-f88aea5d8b9452677bd23a9bba917b900cd634c0.tar.gz cryptography-f88aea5d8b9452677bd23a9bba917b900cd634c0.tar.bz2 cryptography-f88aea5d8b9452677bd23a9bba917b900cd634c0.zip |
Add flags to error on compile with incompatible pointer type (#4455)
* try something a bit different.
* newer compiler plz
* permute
* fix some warnings
* fix getters on OpenSSL < 1.1.0
* this is getting involved
* given our compiler flags we can't have SSL_CTX_set_cookie_verify_cb
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis/run.sh b/.travis/run.sh index 352c252e..5e0e56df 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -7,12 +7,14 @@ if [[ "${TOXENV}" == "pypy" ]]; then fi if [ -n "${LIBRESSL}" ]; then OPENSSL=$LIBRESSL + export CFLAGS="-Werror -Wno-error=deprecated-declarations -Wno-error=discarded-qualifiers -Wno-error=unused-function" fi + if [ -n "${OPENSSL}" ]; then OPENSSL_DIR="ossl-2/${OPENSSL}" export PATH="$HOME/$OPENSSL_DIR/bin:$PATH" - export CFLAGS="-I$HOME/$OPENSSL_DIR/include" + export CFLAGS="${CFLAGS} -I$HOME/$OPENSSL_DIR/include" # rpath on linux will cause it to use an absolute path so we don't need to # do LD_LIBRARY_PATH export LDFLAGS="-L$HOME/$OPENSSL_DIR/lib -Wl,-rpath=$HOME/$OPENSSL_DIR/lib" |