aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
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"