aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-07-05 19:58:01 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-07-06 05:28:01 +0530
commit7a5d3716d0f9413a01651d2be5f0adbc5e858bfa (patch)
tree66e169edd4af39962d0b9cf3411e5e6564a023c8 /.travis
parente2a0493e9808288ceae7e8d54e0d19d306f89223 (diff)
downloadcryptography-7a5d3716d0f9413a01651d2be5f0adbc5e858bfa.tar.gz
cryptography-7a5d3716d0f9413a01651d2be5f0adbc5e858bfa.tar.bz2
cryptography-7a5d3716d0f9413a01651d2be5f0adbc5e858bfa.zip
Don't change the cwd in travis scripts (#4309)
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 2858d25d..673ac4b8 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -18,21 +18,23 @@ if [ -n "${OPENSSL}" ]; then
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"
- cd "openssl-${OPENSSL}"
+ pushd "openssl-${OPENSSL}"
./config shared no-asm no-ssl2 no-ssl3 -fPIC --prefix="$HOME/$OPENSSL_DIR"
shlib_sed
make depend
make install
+ popd
fi
elif [ -n "${LIBRESSL}" ]; then
LIBRESSL_DIR="ossl-1/${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"
- cd "libressl-${LIBRESSL}"
+ pushd "libressl-${LIBRESSL}"
./config -Wl -Wl,-Bsymbolic-functions -fPIC shared --prefix="$HOME/$LIBRESSL_DIR"
shlib_sed
make -j"$(nproc)" install
+ popd
fi
fi
pip install virtualenv