diff options
author | Yiming Jing <jingyiming@baidu.com> | 2018-09-10 13:11:59 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-13 08:26:45 +0200 |
commit | 66b3c186fa9a06d313501c80f02e7125acb78c3d (patch) | |
tree | 9d7e6ae7d32d71d5318be5f4794129957374e291 /.travis.yml | |
parent | dd8151d016acecb8e8c2c91ab4811e517dea5bc4 (diff) | |
download | curl-66b3c186fa9a06d313501c80f02e7125acb78c3d.tar.gz |
travis: build the MesaLink vtls backend with MesaLink 0.7.1
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 04c3e0586..cf39d26b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ cache: - $HOME/mbedtls-mbedtls-2.8.0 - $HOME/libidn2-2.0.4 - $HOME/wolfssl-3.14.0-stable + - $HOME/mesalink-0.7.1 env: global: @@ -69,6 +70,10 @@ matrix: dist: trusty env: T=debug-wolfssl C="--with-wolfssl --without-ssl" - os: linux + compiler: gcc + dist: trusty + env: T=debug-mesalink C="--with-mesalink --without-ssl" + - os: linux compiler: clang dist: trusty env: T=debug @@ -221,10 +226,25 @@ before_script: fi - | if [ $TRAVIS_OS_NAME = linux ]; then + if [ ! -e $HOME/mesalink-0.7.1/Makefile ]; then + (cd $HOME && \ + curl https://sh.rustup.rs -sSf | sh -s -- -y && \ + source $HOME/.cargo/env && \ + curl -LO https://github.com/mesalock-linux/mesalink/archive/v0.7.1.tar.gz && \ + tar -xzf v0.7.1.tar.gz && \ + cd mesalink-0.7.1 && \ + ./autogen.sh && \ + ./configure --enable-tls13 && \ + make) + fi + fi + - | + if [ $TRAVIS_OS_NAME = linux ]; then (cd $HOME/libidn2-2.0.4 && sudo make install) (cd $HOME/libpsl-0.20.1 && sudo make install) (cd $HOME/mbedtls-mbedtls-2.8.0 && sudo make install) (cd $HOME/wolfssl-3.14.0-stable && sudo make install) + (cd $HOME/mesalink-0.7.1 && sudo make install) fi script: @@ -259,6 +279,13 @@ script: fi - | set -eo pipefail + if [ "$T" = "debug-mesalink" ]; then + ./configure --enable-debug --enable-werror $C + make + make "TFLAGS=-n !313" test-nonflaky + fi + - | + set -eo pipefail if [ "$T" = "novalgrind" ]; then ./configure $C make && make examples |