aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 0aecb2bd..20a88312 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -23,9 +23,14 @@ if [ -n "${OPENSSL}" ]; then
shlib_sed
make depend
make -j"$(nproc)"
- # avoid installing the docs
- # https://github.com/openssl/openssl/issues/6685#issuecomment-403838728
- make install_sw install_ssldirs
+ if [[ "${OPENSSL}" =~ 1.0.1 ]]; then
+ # OpenSSL 1.0.1 doesn't support installing without the docs.
+ make install
+ else
+ # avoid installing the docs
+ # https://github.com/openssl/openssl/issues/6685#issuecomment-403838728
+ make install_sw install_ssldirs
+ fi
popd
fi
elif [ -n "${LIBRESSL}" ]; then