summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-04-12 15:44:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-04-30 11:48:05 +0200
commit0f945a28e1ac7764edcb209bf406452bd390eefa (patch)
tree1452c379b2f8715c63cee9d102fb4ebf92cb2e40
parent9e8f28a8f1fe90c5e88c18f56f82f6c28f804839 (diff)
downloadcurl-bagder/travis-mesalink-returns.tar.gz
Revert "travis: remove mesalink builds (temporarily?)"bagder/travis-mesalink-returns
This reverts commit 60034228255894fcea57950b3b39bfe6f5fca580. The mesalink build was removed from the travis set due to constant build failures. Things change brings the build back once functional again.
-rw-r--r--.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 9a27d925e..1ed19912c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,7 @@ sudo: required
cache:
directories:
- $HOME/wolfssl-4.0.0-stable
+ - $HOME/mesalink-0.7.1
- $HOME/nghttp2-1.34.0
env:
@@ -114,6 +115,12 @@ matrix:
- *common_packages
- libpsl-dev
- os: linux
+ compiler: gcc
+ dist: trusty
+ env:
+ - T=debug-mesalink C="--with-mesalink --without-ssl"
+ - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ - os: linux
compiler: clang
dist: xenial
env:
@@ -408,6 +415,20 @@ 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
if [ ! -e $HOME/nghttp2-1.34.0/Makefile ]; then
(cd $HOME && \
curl -L https://github.com/nghttp2/nghttp2/releases/download/v1.34.0/nghttp2-1.34.0.tar.gz |
@@ -420,6 +441,7 @@ before_script:
- |
if [ $TRAVIS_OS_NAME = linux ]; then
(cd $HOME/wolfssl-4.0.0-stable && sudo make install)
+ (cd $HOME/mesalink-0.7.1 && sudo make install)
(cd $HOME/nghttp2-1.34.0 && sudo make install)
fi
@@ -454,6 +476,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