travis-ci: added gcc and clang openssl-1.1.0 builds

openssl build script was modified according to official openssl manual:
https://wiki.openssl.org/index.php/Compilation_and_Installation
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <1497897488-15999-1-git-send-email-chipitsine@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14890.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
Ilya Shipitsin 2017-06-19 23:38:08 +05:00 committed by Gert Doering
parent 32f22869c1
commit aeac1139a3
2 changed files with 9 additions and 3 deletions

View File

@ -27,9 +27,15 @@ matrix:
- env: SSLLIB="openssl"
os: linux
compiler: gcc
- env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0f"
os: linux
compiler: gcc
- env: SSLLIB="openssl"
os: linux
compiler: clang
- env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0f"
os: linux
compiler: clang
- env: SSLLIB="mbedtls"
os: linux
compiler: gcc

View File

@ -82,7 +82,7 @@ download_openssl () {
build_openssl_linux () {
(
cd "openssl-${OPENSSL_VERSION}/"
./config shared --openssldir="${PREFIX}" -DPURIFY
./config shared --prefix="${PREFIX}" --openssldir="${PREFIX}" -DPURIFY
make all install_sw
)
}
@ -91,7 +91,7 @@ build_openssl_osx () {
(
cd "openssl-${OPENSSL_VERSION}/"
./Configure darwin64-x86_64-cc shared \
--openssldir="${PREFIX}" -DPURIFY
--prefix="${PREFIX}" --openssldir="${PREFIX}" -DPURIFY
make depend all install_sw
)
}
@ -107,7 +107,7 @@ build_openssl_mingw () {
fi
./Configure --cross-compile-prefix=${CHOST}- shared \
${TARGET} no-multilib no-capieng --openssldir="${PREFIX}" -static-libgcc
${TARGET} no-multilib no-capieng --prefix="${PREFIX}" --openssldir="${PREFIX}" -static-libgcc
make install
)
}