2020-03-23 21:44:29 +08: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-04 05:27:13 +08:00
|
|
|
language: c
|
2017-07-05 05:03:49 +08:00
|
|
|
sudo: required
|
2018-04-09 06:11:04 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
2020-04-27 14:38:52 +08:00
|
|
|
- $HOME/wolfssl-4.4.0-stable
|
2019-05-01 06:46:46 +08:00
|
|
|
- $HOME/mesalink-1.0.0
|
2019-08-21 14:29:59 +08:00
|
|
|
- $HOME/nghttp2-1.39.2
|
2018-04-09 06:11:04 +08:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- LD_LIBRARY_PATH=/usr/local/lib
|
|
|
|
|
2017-06-04 05:27:13 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
2018-03-27 06:29:30 +08:00
|
|
|
config:
|
|
|
|
retries: true
|
2019-04-02 20:31:06 +08:00
|
|
|
sources: &common_sources
|
2017-06-04 05:27:13 +08:00
|
|
|
- ubuntu-toolchain-r-test
|
2019-04-02 20:31:06 +08:00
|
|
|
packages: &common_packages
|
2017-06-04 05:27:13 +08:00
|
|
|
- cmake
|
2018-08-09 20:48:28 +08:00
|
|
|
- gcc-8
|
2017-06-04 05:27:13 +08:00
|
|
|
- valgrind
|
2017-07-05 05:03:49 +08:00
|
|
|
- libev-dev
|
|
|
|
- libc-ares-dev
|
2018-08-09 20:48:28 +08:00
|
|
|
- g++-8
|
|
|
|
- libstdc++-8-dev
|
2017-07-07 22:42:44 +08:00
|
|
|
- stunnel4
|
2017-07-11 00:56:36 +08:00
|
|
|
- libidn2-0-dev
|
2018-09-09 04:44:16 +08:00
|
|
|
- gnutls-bin
|
2020-03-15 17:01:38 +08:00
|
|
|
- python-impacket
|
2015-08-18 00:08:55 +08:00
|
|
|
|
2017-06-04 05:27:13 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2017-08-03 17:01:25 +08:00
|
|
|
dist: trusty
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=normal C="--with-gssapi --with-libssh2" CHECKSRC=1
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-02 20:46:23 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- krb5-user
|
2019-04-02 20:56:18 +08:00
|
|
|
- libssh2-1-dev
|
2017-10-31 15:44:24 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=normal C=--with-libssh
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-02 20:51:21 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libssh-dev
|
2017-09-06 16:05:05 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=normal C="--enable-ares"
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2020-04-14 17:19:12 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
|
|
|
env:
|
|
|
|
- T=normal C="--enable-mqtt"
|
2018-10-17 05:35:44 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08: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 20:42:23 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2017-11-28 02:55:25 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-09-25 20:34:31 +08:00
|
|
|
before_install:
|
|
|
|
# Install and use the current stable release of Go
|
|
|
|
- gimme --list
|
|
|
|
- eval "$(gimme stable)"
|
|
|
|
- gimme --list
|
2019-03-10 04:15:18 +08: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 20:42:23 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-09-16 15:02:03 +08:00
|
|
|
- ppa:longsleep/golang-backports
|
2019-04-14 20:42:23 +08:00
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
2019-08-11 05:28:57 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-09-25 20:34:31 +08:00
|
|
|
before_install:
|
|
|
|
# Install and use the current stable release of Go
|
|
|
|
- gimme --list
|
|
|
|
- eval "$(gimme stable)"
|
|
|
|
- gimme --list
|
2019-08-11 05:28:57 +08:00
|
|
|
env:
|
2019-08-18 22:03:51 +08: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-11 05:28:57 +08: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 21:47:07 +08: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 21:13:04 +08: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 22:16:25 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=debug-wolfssl C="--with-wolfssl --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-14 20:42:23 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2019-05-01 06:46:46 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-05-01 06:46:46 +08:00
|
|
|
env:
|
|
|
|
- T=debug-mesalink C="--with-mesalink --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-06-12 22:15:39 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
|
|
|
- libbrotli-dev
|
2017-06-04 05:27:13 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-09 03:26:10 +08:00
|
|
|
dist: xenial
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=debug
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-09 03:26:10 +08:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2019-03-03 18:17:52 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-09 03:26:10 +08:00
|
|
|
dist: xenial
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=debug C="--enable-alt-svc"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-09 03:26:10 +08:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2018-04-25 15:20:08 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-09 03:26:10 +08:00
|
|
|
dist: xenial
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=debug C="--with-mbedtls --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-09 03:26:10 +08:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2019-04-14 20:48:37 +08:00
|
|
|
- libmbedtls-dev
|
2019-03-02 05:00:27 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=debug C="--with-gnutls --without-ssl"
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 16:56:21 +08:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-02 21:06:47 +08:00
|
|
|
- libgnutls28-dev
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2018-05-10 14:56:46 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08: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 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 16:56:21 +08:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-02 20:58:33 +08:00
|
|
|
- libnss3-dev
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2017-09-07 18:42:30 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
dist: trusty
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=iconv
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2017-06-04 05:27:13 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=cmake
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-14 20:42:23 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2017-06-04 05:27:13 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=cmake
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 16:56:21 +08:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2017-06-04 05:27:13 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2019-03-09 03:26:10 +08:00
|
|
|
dist: xenial
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
2019-12-10 16:36:46 +08:00
|
|
|
- T=torture
|
2019-03-10 04:15:18 +08:00
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-02 20:35:19 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- lcov
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2019-06-13 02:59:12 +08:00
|
|
|
- libssh2-1-dev
|
2017-06-04 05:27:13 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=distcheck
|
|
|
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
2019-04-14 20:42:23 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2017-08-27 22:57:05 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=fuzzer
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 16:56:21 +08:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2018-10-27 22:02:48 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=tidy
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 16:56:21 +08:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
|
|
|
- clang-tidy-7
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2017-11-21 06:31:05 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-03-10 04:15:18 +08:00
|
|
|
env:
|
|
|
|
- T=scan-build
|
|
|
|
- OVERRIDE_CC="CC=clang-7" OVERRIDE_CXX="CXX=clang++-7"
|
2019-04-02 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2020-02-02 16:56:21 +08:00
|
|
|
- llvm-toolchain-bionic-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-06-08 21:02:07 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2018-10-29 23:18:34 +08:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-03-09 03:26:10 +08:00
|
|
|
dist: xenial
|
2019-03-10 04:15:18 +08: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 20:31:06 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- *common_sources
|
2019-03-09 03:26:10 +08:00
|
|
|
- llvm-toolchain-xenial-7
|
2019-04-02 20:31:06 +08:00
|
|
|
packages:
|
|
|
|
- *common_packages
|
|
|
|
- clang-7
|
2019-04-14 20:42:23 +08:00
|
|
|
- libpsl-dev
|
2019-06-12 22:15:39 +08:00
|
|
|
- libbrotli-dev
|
2019-10-17 16:24:28 +08:00
|
|
|
- os: linux
|
|
|
|
arch: arm64
|
|
|
|
compiler: gcc
|
2020-02-02 16:56:21 +08:00
|
|
|
dist: bionic
|
2019-10-17 16:24:28 +08: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-10 04:15:18 +08:00
|
|
|
|
|
|
|
before_install:
|
2019-12-01 02:42:20 +08: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 21:10:18 +08:00
|
|
|
|
2015-08-21 12:10:59 +08:00
|
|
|
install:
|
2017-12-01 16:03:26 +08:00
|
|
|
- if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi
|
2015-08-21 12:10:59 +08:00
|
|
|
|
2019-12-28 14:56:05 +08: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 21:10:18 +08:00
|
|
|
before_script:
|
2019-12-28 14:56:05 +08:00
|
|
|
- ./scripts/travis/before_script.sh || travis_terminate 1
|
2017-06-04 05:27:13 +08:00
|
|
|
script:
|
2019-12-28 14:56:05 +08: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 21:10:18 +08:00
|
|
|
|
2017-06-21 05:00:49 +08:00
|
|
|
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2019-03-15 21:38:48 +08:00
|
|
|
- /\/ci$/
|
2017-06-21 05:00:49 +08: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 21:10:18 +08:00
|
|
|
notifications:
|
|
|
|
email: false
|