aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install.sh9
-rwxr-xr-x.travis/run.sh2
2 files changed, 6 insertions, 5 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 6cb0a6b5..a4aa9a42 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -14,21 +14,22 @@ shlib_sed() {
# download, compile, and install if it's not already present via travis
# cache
if [ -n "${OPENSSL}" ]; then
- OPENSSL_DIR="ossl-1/${OPENSSL}"
+ OPENSSL_DIR="ossl-2/${OPENSSL}"
if [[ ! -f "$HOME/$OPENSSL_DIR/bin/openssl" ]]; then
curl -O "https://www.openssl.org/source/openssl-${OPENSSL}.tar.gz"
tar zxf "openssl-${OPENSSL}.tar.gz"
pushd "openssl-${OPENSSL}"
- ./config shared no-asm no-ssl2 no-ssl3 -fPIC --prefix="$HOME/$OPENSSL_DIR"
+ ./config shared no-ssl2 no-ssl3 -fPIC --prefix="$HOME/$OPENSSL_DIR"
shlib_sed
make depend
+ make -j"$(nproc)"
# avoid installing the docs
# https://github.com/openssl/openssl/issues/6685#issuecomment-403838728
- make -j"$(nproc)" install_sw install_ssldirs
+ make install_sw install_ssldirs
popd
fi
elif [ -n "${LIBRESSL}" ]; then
- LIBRESSL_DIR="ossl-1/${LIBRESSL}"
+ LIBRESSL_DIR="ossl-2/${LIBRESSL}"
if [[ ! -f "$HOME/$LIBRESSL_DIR/bin/openssl" ]]; then
curl -O "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL}.tar.gz"
tar zxf "libressl-${LIBRESSL}.tar.gz"
diff --git a/.travis/run.sh b/.travis/run.sh
index a68ad157..32e9874b 100755
--- a/.travis/run.sh
+++ b/.travis/run.sh
@@ -12,7 +12,7 @@ if [ -n "${LIBRESSL}" ]; then
OPENSSL=$LIBRESSL
fi
if [ -n "${OPENSSL}" ]; then
- OPENSSL_DIR="ossl-1/${OPENSSL}"
+ OPENSSL_DIR="ossl-2/${OPENSSL}"
export PATH="$HOME/$OPENSSL_DIR/bin:$PATH"
export CFLAGS="-I$HOME/$OPENSSL_DIR/include"