2020-03-23 09:44:29 -04:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
|
|
|
#
|
|
|
|
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
#
|
|
|
|
# This software is licensed as described in the file COPYING, which
|
|
|
|
# you should have received as part of this distribution. The terms
|
|
|
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
|
|
|
#
|
|
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
|
|
#
|
|
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
# KIND, either express or implied.
|
|
|
|
#
|
|
|
|
###########################################################################
|
2017-06-03 17:27:13 -04:00
|
|
|
language: c
|
2017-07-04 17:03:49 -04:00
|
|
|
sudo: required
|
2018-04-08 18:11:04 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
2019-03-22 05:59:51 -04:00
|
|
|
- $HOME/wolfssl-4.0.0-stable
|
2019-04-30 18:46:46 -04:00
|
|
|
- $HOME/mesalink-1.0.0
|
2019-08-21 02:29:59 -04:00
|
|
|
- $HOME/nghttp2-1.39.2
|
2018-04-08 18:11:04 -04:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- LD_LIBRARY_PATH=/usr/local/lib
|
|
|
|
|
2017-06-03 17:27:13 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
2018-03-26 18:29:30 -04:00
|
|
|
config:
|
|
|
|
retries: true
|
2019-04-02 08:31:06 -04:00
|
|
|
sources: &common_sources
|
2017-06-03 17:27:13 -04:00
|
|
|
- ubuntu-toolchain-r-test
|
2019-04-02 08:31:06 -04:00
|
|
|
packages: &common_packages
|
2017-06-03 17:27:13 -04:00
|
|
|
- cmake
|
2018-08-09 08:48:28 -04:00
|
|
|
- gcc-8
|
2017-06-03 17:27:13 -04:00
|
|
|
- valgrind
|
2017-07-04 17:03:49 -04:00
|
|
|
- libev-dev
|
|
|
|
- libc-ares-dev
|
2018-08-09 08:48:28 -04:00
|
|
|
- g++-8
|
|
|
|
- libstdc++-8-dev
|
2017-07-07 10:42:44 -04:00
|
|
|
- stunnel4
|
2017-07-10 12:56:36 -04:00
|
|
|
- libidn2-0-dev
|
2018-09-08 16:44:16 -04:00
|
|
|
- gnutls-bin
|
2020-03-15 05:01:38 -04:00
|
|
|
- python-impacket
|
2015-08-17 12:08:55 -04:00
|
|
|
|
2017-06-03 17:27:13 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2017-08-03 05:01:25 -04:00
|
|
|
dist: trusty
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=normal C="--with-gssapi --with-libssh2" CHECKSRC=1
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-02 08:46:23 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- krb5-user
|
2019-04-02 08:56:18 -04:00
|
|
|
- libssh2-1-dev
|
2017-10-31 03:44:24 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=normal C=--with-libssh
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-02 08:51:21 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libssh-dev
|
2017-09-06 04:05:05 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=normal C="--enable-ares"
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2020-04-14 05:19:12 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
|
|
|
env:
|
|
|
|
- T=normal C="--enable-mqtt"
|
2018-10-16 17:35:44 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=normal C="--disable-verbose" CPPFLAGS="-Wno-variadic-macros" NOTESTS=1
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-14 08:42:23 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2017-11-27 13:55:25 -05:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-09-25 08:34:31 -04:00
|
|
|
before_install:
|
|
|
|
# Install and use the current stable release of Go
|
|
|
|
- gimme --list
|
|
|
|
- eval "$(gimme stable)"
|
|
|
|
- gimme --list
|
2019-03-09 15:15:18 -05:00
|
|
|
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"
|
2019-04-14 08:42:23 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-09-16 03:02:03 -04:00
|
|
|
- ppa:longsleep/golang-backports
|
2019-04-14 08:42:23 -04:00
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
2019-08-10 17:28:57 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-09-25 08:34:31 -04:00
|
|
|
before_install:
|
|
|
|
# Install and use the current stable release of Go
|
|
|
|
- gimme --list
|
|
|
|
- eval "$(gimme stable)"
|
|
|
|
- gimme --list
|
2019-08-10 17:28:57 -04:00
|
|
|
env:
|
2019-08-18 10:03:51 -04:00
|
|
|
- T=novalgrind BORINGSSL=yes QUICHE="yes" C="--with-ssl=$HOME/boringssl --with-quiche=$HOME/quiche/target/release --enable-alt-svc" LD_LIBRARY_PATH=/home/travis/boringssl/lib:$HOME/quiche/target/release:/usr/local/lib
|
2019-08-10 17:28:57 -04:00
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
|
|
|
- libbrotli-dev
|
2019-09-21 09:47:07 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: xenial
|
|
|
|
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:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
|
|
|
- libbrotli-dev
|
2020-03-29 09:13:04 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: xenial
|
|
|
|
env:
|
|
|
|
- T=novalgrind NGTCP2=yes GNUTLS=yes C="PKG_CONFIG_PATH=$HOME/ngbuild --without-ssl --with-gnutls=$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:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
|
|
|
- libbrotli-dev
|
|
|
|
- autogen
|
|
|
|
- automake
|
|
|
|
- autopoint
|
|
|
|
- bison
|
|
|
|
- gperf
|
|
|
|
- libgmp-dev
|
|
|
|
- libopts25-dev
|
|
|
|
- libp11-kit-dev
|
|
|
|
- libtasn1-6-dev
|
|
|
|
- nettle-dev
|
2018-04-24 10:16:25 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=debug-wolfssl C="--with-wolfssl --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-14 08:42:23 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2019-04-30 18:46:46 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-04-30 18:46:46 -04:00
|
|
|
env:
|
|
|
|
- T=debug-mesalink C="--with-mesalink --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-06-12 10:15:39 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
|
|
|
- libbrotli-dev
|
2017-06-03 17:27:13 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-08 14:26:10 -05:00
|
|
|
dist: xenial
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=debug
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-08 14:26:10 -05:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2019-03-03 05:17:52 -05:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-08 14:26:10 -05:00
|
|
|
dist: xenial
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=debug C="--enable-alt-svc"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-08 14:26:10 -05:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2018-04-25 03:20:08 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-08 14:26:10 -05:00
|
|
|
dist: xenial
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=debug C="--with-mbedtls --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-08 14:26:10 -05:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2019-04-14 08:48:37 -04:00
|
|
|
- libmbedtls-dev
|
2019-03-01 16:00:27 -05:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=debug C="--with-gnutls --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 03:56:21 -05:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-02 09:06:47 -04:00
|
|
|
- libgnutls28-dev
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2018-05-10 02:56:46 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=debug C="--with-nss --without-ssl" NOTESTS=1 CPPFLAGS="-isystem /usr/include/nss"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 03:56:21 -05:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-02 08:58:33 -04:00
|
|
|
- libnss3-dev
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2017-09-07 06:42:30 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=iconv
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2017-06-03 17:27:13 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=cmake
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-14 08:42:23 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2017-06-03 17:27:13 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=cmake
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 03:56:21 -05:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2017-06-03 17:27:13 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2019-03-08 14:26:10 -05:00
|
|
|
dist: xenial
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
2019-12-10 03:36:46 -05:00
|
|
|
- T=torture
|
2019-03-09 15:15:18 -05:00
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-02 08:35:19 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- lcov
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2019-06-12 14:59:12 -04:00
|
|
|
- libssh2-1-dev
|
2017-06-03 17:27:13 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=distcheck
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-14 08:42:23 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2017-08-27 10:57:05 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=fuzzer
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 03:56:21 -05:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2018-10-27 10:02:48 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=tidy
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 03:56:21 -05:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
|
|
|
- clang-tidy-7
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2017-11-20 17:31:05 -05:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=scan-build
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 03:56:21 -05:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-06-08 09:02:07 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2018-10-29 11:18:34 -04:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-08 14:26:10 -05:00
|
|
|
dist: xenial
|
2019-03-09 15:15:18 -05:00
|
|
|
env:
|
|
|
|
- T=debug CFLAGS="-fsanitize=address,undefined,signed-integer-overflow -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g" LDFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer" LIBS="-ldl -lubsan"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 08:31:06 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-08 14:26:10 -05:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 08:31:06 -04:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 08:42:23 -04:00
|
|
|
- libpsl-dev
|
2019-06-12 10:15:39 -04:00
|
|
|
- libbrotli-dev
|
2019-10-17 04:24:28 -04:00
|
|
|
- os: linux
|
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
2020-02-02 03:56:21 -05:00
|
|
|
dist: bionic
|
2019-10-17 04:24:28 -04:00
|
|
|
env:
|
|
|
|
- T=debug C="--enable-alt-svc"
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
|
|
|
- libbrotli-dev
|
|
|
|
- libev-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libtool
|
|
|
|
- pkg-config
|
|
|
|
- zlib1g-dev
|
2019-03-09 15:15:18 -05:00
|
|
|
|
|
|
|
before_install:
|
2019-11-30 13:42:20 -05:00
|
|
|
- export "${OVERRIDE_CC-blank=}"
|
|
|
|
- export "${OVERRIDE_CXX-blank=}"
|
Adding a .travis.yml file to use the travis-ci.org
From wikipedia:
Travis CI is a hosted, distributed continuous integration service used
to build and test projects hosted at GitHub.
Travis CI is configured by adding a file named .travis.yml, which is a
YAML format text file, to the root directory of the GitHub repository.
Travis CI automatically detects when a commit has been made and pushed
to a GitHub repository that is using Travis CI, and each time this
happens, it will try to build the project and run tests. This includes
commits to all branches, not just to the master branch. When that
process has completed, it will notify a developer in the way it has been
configured to do so — for example, by sending an email containing the
test results (showing success or failure), or by posting a message on an
IRC channel. It can be configured to run the tests on a range of
different machines, with different software installed (such as older
versions of a programming language, to test for compatibility).
2013-10-17 09:10:18 -04:00
|
|
|
|
2015-08-21 00:10:59 -04:00
|
|
|
install:
|
2017-12-01 03:03:26 -05:00
|
|
|
- if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi
|
2015-08-21 00:10:59 -04:00
|
|
|
|
2019-12-28 01:56:05 -05:00
|
|
|
# before_script and script:
|
|
|
|
# Travis isn't reliable catching errors in inline script commands (#3730).
|
|
|
|
# Do not add anything here, instead add to the respective script.
|
Adding a .travis.yml file to use the travis-ci.org
From wikipedia:
Travis CI is a hosted, distributed continuous integration service used
to build and test projects hosted at GitHub.
Travis CI is configured by adding a file named .travis.yml, which is a
YAML format text file, to the root directory of the GitHub repository.
Travis CI automatically detects when a commit has been made and pushed
to a GitHub repository that is using Travis CI, and each time this
happens, it will try to build the project and run tests. This includes
commits to all branches, not just to the master branch. When that
process has completed, it will notify a developer in the way it has been
configured to do so — for example, by sending an email containing the
test results (showing success or failure), or by posting a message on an
IRC channel. It can be configured to run the tests on a range of
different machines, with different software installed (such as older
versions of a programming language, to test for compatibility).
2013-10-17 09:10:18 -04:00
|
|
|
before_script:
|
2019-12-28 01:56:05 -05:00
|
|
|
- ./scripts/travis/before_script.sh || travis_terminate 1
|
2017-06-03 17:27:13 -04:00
|
|
|
script:
|
2019-12-28 01:56:05 -05:00
|
|
|
- ./scripts/travis/script.sh || travis_terminate 1
|
Adding a .travis.yml file to use the travis-ci.org
From wikipedia:
Travis CI is a hosted, distributed continuous integration service used
to build and test projects hosted at GitHub.
Travis CI is configured by adding a file named .travis.yml, which is a
YAML format text file, to the root directory of the GitHub repository.
Travis CI automatically detects when a commit has been made and pushed
to a GitHub repository that is using Travis CI, and each time this
happens, it will try to build the project and run tests. This includes
commits to all branches, not just to the master branch. When that
process has completed, it will notify a developer in the way it has been
configured to do so — for example, by sending an email containing the
test results (showing success or failure), or by posting a message on an
IRC channel. It can be configured to run the tests on a range of
different machines, with different software installed (such as older
versions of a programming language, to test for compatibility).
2013-10-17 09:10:18 -04:00
|
|
|
|
2017-06-20 17:00:49 -04:00
|
|
|
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2019-03-15 09:38:48 -04:00
|
|
|
- /\/ci$/
|
2017-06-20 17:00:49 -04:00
|
|
|
|
Adding a .travis.yml file to use the travis-ci.org
From wikipedia:
Travis CI is a hosted, distributed continuous integration service used
to build and test projects hosted at GitHub.
Travis CI is configured by adding a file named .travis.yml, which is a
YAML format text file, to the root directory of the GitHub repository.
Travis CI automatically detects when a commit has been made and pushed
to a GitHub repository that is using Travis CI, and each time this
happens, it will try to build the project and run tests. This includes
commits to all branches, not just to the master branch. When that
process has completed, it will notify a developer in the way it has been
configured to do so — for example, by sending an email containing the
test results (showing success or failure), or by posting a message on an
IRC channel. It can be configured to run the tests on a range of
different machines, with different software installed (such as older
versions of a programming language, to test for compatibility).
2013-10-17 09:10:18 -04:00
|
|
|
notifications:
|
|
|
|
email: false
|