Build against OpenSSL 1.1 in travis-ci

This commit is contained in:
Trevor Bentley
2017-11-24 15:41:29 +01:00
parent 7ca0267ddf
commit b10d98e96b
4 changed files with 78 additions and 1 deletions
+6
View File
@@ -61,6 +61,12 @@ if [ "x$ARCH" != "x" ]; then
else
make -f mac.mk mac VERSION=$version
fi
elif [ "x$BUILD_OPENSSL_VERSION" = "x1.1" ]; then
version=`cat NEWS | grep unreleased | cut -d' ' -f3`
set +e
$TAR --exclude .git --transform="s/^\./yubico-piv-tool-${version}/" -czf yubico-piv-tool-${version}.tar.gz .
set -e
make -f linux.mk VERSION=$version
else
./configure $COVERAGE
make check