global:
- PREFIX=${HOME}/opt
- PATH=${PREFIX}/bin:${PATH}
- - OPENSSL_BRANCH=OpenSSL_1_1_1-stable
- - OPENSSL_TAG=openssl-3.0.0-alpha1
+ - OPENSSL_BRANCH=openssl-3.0.0-alpha1
- RPATH="-Wl,-rpath=${PREFIX}/lib"
matrix:
- curl -L https://cpanmin.us | sudo perl - --sudo App::cpanminus
- sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1)
- if [ "$APT_INSTALL" ]; then sudo apt-get install -y $APT_INSTALL; fi
- - git clone https://github.com/openssl/openssl.git
+ - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
- cd openssl
- - git checkout ${OPENSSL_TAG}
- git describe --always --long
- $SETARCH ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} ${RPATH}
- travis_wait $SETARCH make -s -j$(nproc) build_libs