summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-07 11:28:13 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-07 22:50:15 +0200
commit6f42e3b16968efded56238b4bce91242a0c29983 (patch)
treeb8a8fba30f8ce3b59bfea99cce8645ef767e6bf3
parent8684bb70d3676dcd84ba14f0d990a1d8dc451c3b (diff)
downloadcurl-6f42e3b16968efded56238b4bce91242a0c29983.tar.gz
travis: add a build using libressl (from git master)
The v3.2.1 tag (latest release atm) results in a broken build. Closes #5932
-rw-r--r--.travis.yml3
-rwxr-xr-xscripts/travis/before_script.sh10
2 files changed, 13 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 774ea88c1..2832a9cac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -110,6 +110,9 @@ jobs:
- libbrotli-dev
- libzstd-dev
- env:
+ - T=novalgrind LIBRESSL=yes C="--with-ssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
+ - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ - env:
- T=novalgrind NGTCP2=yes C="--with-ssl=$HOME/ngbuild --with-ngtcp2=$HOME/ngbuild --with-nghttp3=$HOME/ngbuild --enable-alt-svc" NOTESTS=
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
addons:
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh
index ddadae215..842f967a1 100755
--- a/scripts/travis/before_script.sh
+++ b/scripts/travis/before_script.sh
@@ -98,6 +98,16 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$OPENSSL3" ]; then
make install_sw
fi
+if [ "$TRAVIS_OS_NAME" = linux -a "$LIBRESSL" ]; then
+ cd $HOME
+ git clone --depth=1 https://github.com/libressl-portable/portable.git libressl-git
+ cd libressl-git
+ ./autogen.sh
+ ./configure --prefix=$HOME/libressl
+ make
+ make install
+fi
+
if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
cd $HOME
git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git