summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-02 15:48:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-02 22:49:28 +0200
commit597654678dea5a9ee6049e16316cf56bb479b956 (patch)
tree74e98b2b1de1f9ea03d9ad129189d589b711d61a
parentb3fbb2fb9dde9ab93db67a7ccc2130e68714016b (diff)
downloadcurl-bagder/travis-openssl3.tar.gz
travis: add a CI job with openssl3 (from git master)bagder/travis-openssl3
-rw-r--r--.travis.yml11
-rwxr-xr-xscripts/travis/before_script.sh9
2 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 503d1ced6..774ea88c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -153,6 +153,17 @@ jobs:
- libbrotli-dev
- libzstd-dev
- env:
+ - T=debug OPENSSL3="yes" C="--with-ssl=$HOME/openssl3" LD_LIBRARY_PATH=/home/travis/openssl3/lib:/usr/local/lib
+ - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ addons:
+ apt:
+ <<: *common_apt
+ packages:
+ - *common_packages
+ - libpsl-dev
+ - libbrotli-dev
+ - libzstd-dev
+ - env:
- T=debug-mesalink C="--with-mesalink --without-ssl" MESALINK=yes
- 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 e8bf71950..ddadae215 100755
--- a/scripts/travis/before_script.sh
+++ b/scripts/travis/before_script.sh
@@ -89,6 +89,15 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$BORINGSSL" ]; then
export LIBS=-lpthread
fi
+if [ "$TRAVIS_OS_NAME" = linux -a "$OPENSSL3" ]; then
+ cd $HOME
+ git clone --depth=1 https://github.com/openssl/openssl
+ cd openssl
+ ./config enable-tls1_3 --prefix=$HOME/openssl3
+ make
+ make install_sw
+fi
+
if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
cd $HOME
git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git