aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-08-26 21:48:24 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2016-08-26 09:48:24 -0400
commit07ea3cd3ea23608ad5dfea008674d89e03cb1d33 (patch)
tree244ccf4ac6c001fad0e7036ce01615c92b7f643a /.travis
parent9736716017aac1d9da14b858903b20bb65b426e6 (diff)
downloadcryptography-07ea3cd3ea23608ad5dfea008674d89e03cb1d33.tar.gz
cryptography-07ea3cd3ea23608ad5dfea008674d89e03cb1d33.tar.bz2
cryptography-07ea3cd3ea23608ad5dfea008674d89e03cb1d33.zip
OpenSSL 1.1.0 support (#2826)
* make pre5 work * add a blank line to make the diff happier * 1.1.0-pre6 working * support the changes since 1.1.0-pre6 * fixes * add 1.1.0 to travis * expose the symbol * better testing for numericstring * handle libre... * actually use the 1.1.0 we compile * cache the ossl-110 dir on travis * add some newlines * changelog entry for 1.1.0 support * note that we test on 1.1.0 * proper skip on this test * reorder
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install.sh7
-rwxr-xr-x.travis/run.sh3
2 files changed, 9 insertions, 1 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index b8ff31ad..5c09b258 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -63,6 +63,10 @@ else
OPENSSL_VERSION_NUMBER="1.0.0t"
OPENSSL_DIR="ossl-100t"
fi
+ if [[ "${OPENSSL}" == "1.1.0" ]]; then
+ OPENSSL_VERSION_NUMBER="1.1.0"
+ OPENSSL_DIR="ossl-110"
+ fi
# download, compile, and install if it's not already present via travis
# cache
if [ -n "$OPENSSL_DIR" ]; then
@@ -72,7 +76,8 @@ else
cd openssl-$OPENSSL_VERSION_NUMBER
./config shared no-asm no-ssl2 -fPIC --prefix="$HOME/$OPENSSL_DIR"
# modify the shlib version to a unique one to make sure the dynamic
- # linker doesn't load the system one.
+ # linker doesn't load the system one. This isn't required for 1.1.0 at the
+ # moment since our Travis builders have a diff shlib version, but it doesn't hurt
sed -i "s/^SHLIB_MAJOR=.*/SHLIB_MAJOR=100/" Makefile
sed -i "s/^SHLIB_MINOR=.*/SHLIB_MINOR=0.0/" Makefile
sed -i "s/^SHLIB_VERSION_NUMBER=.*/SHLIB_VERSION_NUMBER=100.0.0/" Makefile
diff --git a/.travis/run.sh b/.travis/run.sh
index 5c8b53f9..22beba06 100755
--- a/.travis/run.sh
+++ b/.travis/run.sh
@@ -29,6 +29,9 @@ else
if [[ "${OPENSSL}" == "1.0.0" ]]; then
OPENSSL_DIR="ossl-100t"
fi
+ if [[ "${OPENSSL}" == "1.1.0" ]]; then
+ OPENSSL_DIR="ossl-110"
+ fi
if [ -n "$OPENSSL_DIR" ]; then
export PATH="$HOME/$OPENSSL_DIR/bin:$PATH"