sudo: required
cache:
directories:
- - $HOME/libpsl-0.20.1
- $HOME/mbedtls-mbedtls-2.8.0
- - $HOME/libidn2-2.0.4
- $HOME/wolfssl-4.0.0-stable
- $HOME/nghttp2-1.34.0
- libstdc++-8-dev
- stunnel4
- libidn2-0-dev
- - autopoint # for libpsl that needs autoreconf that uses gettext that needs it
- - libunistring-dev # for libidn2 needed by libpsl
- gnutls-bin
matrix:
env:
- T=normal C="--disable-verbose" CPPFLAGS="-Wno-variadic-macros" NOTESTS=1
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ addons:
+ apt:
+ sources:
+ - *common_sources
+ packages:
+ - *common_packages
+ - libpsl-dev
- os: linux
compiler: gcc
dist: trusty
env:
- T=novalgrind BORINGSSL=yes C="--with-ssl=$HOME/boringssl" LD_LIBRARY_PATH=/home/travis/boringssl/lib:/usr/local/lib
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ addons:
+ apt:
+ sources:
+ - *common_sources
+ packages:
+ - *common_packages
+ - libpsl-dev
- os: linux
compiler: gcc
dist: xenial
env:
- T=debug-wolfssl C="--with-wolfssl --without-ssl"
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ addons:
+ apt:
+ sources:
+ - *common_sources
+ packages:
+ - *common_packages
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
packages:
- *common_packages
- clang-7
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
packages:
- *common_packages
- clang-7
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
packages:
- *common_packages
- clang-7
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
- *common_packages
- clang-7
- libgnutls28-dev
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
packages:
- *common_packages
- clang-7
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
- *common_packages
- clang-7
- libnss3-dev
+ - libpsl-dev
- os: linux
compiler: gcc
dist: trusty
env:
- T=cmake
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ addons:
+ apt:
+ sources:
+ - *common_sources
+ packages:
+ - *common_packages
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
packages:
- *common_packages
- clang-7
+ - libpsl-dev
- os: linux
compiler: gcc
dist: xenial
packages:
- *common_packages
- lcov
+ - libpsl-dev
- os: linux
compiler: gcc
dist: xenial
env:
- T=distcheck
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ addons:
+ apt:
+ sources:
+ - *common_sources
+ packages:
+ - *common_packages
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
packages:
- *common_packages
- clang-7
+ - libpsl-dev
- os: linux
compiler: clang
dist: xenial
- *common_packages
- clang-7
- clang-tidy-7
+ - libpsl-dev
- os: linux
compiler: clang
dist: trusty
packages:
- *common_packages
- clang-7
+ - libpsl-dev
before_install:
- eval "${OVERRIDE_CC}"
echo "BoringSSL lib dir: "`pwd` &&
export LIBS=-lpthread )
fi
- - |
- if [ $TRAVIS_OS_NAME = linux ]; then
- if [ ! -e $HOME/libidn2-2.0.4/Makefile ]; then
- (cd $HOME && \
- curl -LO https://ftp.gnu.org/gnu/libidn/libidn2-2.0.4.tar.gz && \
- tar -xzf libidn2-2.0.4.tar.gz && \
- cd libidn2-2.0.4 && \
- ./configure && \
- make)
- fi
- fi
- - |
- if [ $TRAVIS_OS_NAME = linux ]; then
- if [ ! -e $HOME/libpsl-0.20.1/Makefile ]; then
- (cd $HOME && \
- curl -LO https://github.com/rockdaboot/libpsl/releases/download/libpsl-0.20.1/libpsl-0.20.1.tar.gz && \
- tar -xzf libpsl-0.20.1.tar.gz && \
- cd libpsl-0.20.1 && \
- autoreconf -i && \
- ./configure && \
- make)
- fi
- fi
- |
if [ $TRAVIS_OS_NAME = linux ]; then
if [ ! -e $HOME/mbedtls-mbedtls-2.8.0/library/libmbedtls.a ]; then
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-4.0.0-stable && sudo make install)
(cd $HOME/nghttp2-1.34.0 && sudo make install)