2020-04-22 20:24:48 +01:00
|
|
|
language: cpp
|
|
|
|
dist: trusty
|
2020-04-22 20:57:22 +01:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
os: linux
|
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 1
|
2020-04-22 20:24:48 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: |-
|
2020-04-22 20:57:22 +01:00
|
|
|
a1eovNn4uol9won7ghr67eD3/59oeESN+G9bWE+ecI1V6yRseG9whniGhIpC/YfMW/Qz5I
|
|
|
|
5sxSmFjaw9bxCISNwUIrL1O5x2AmRYTnFcXk4dFsUvlZg+WeF/aKyBYCNRM8C2ndbBmtAO
|
|
|
|
o1F2EwFbiso0EmtzhAPs19ujiVxkLn4=
|
2020-04-22 20:24:48 +01:00
|
|
|
|
|
|
|
matrix:
|
2020-04-22 20:57:22 +01:00
|
|
|
include:
|
|
|
|
# Documentation
|
|
|
|
- env: BUILD=Doc
|
|
|
|
sudo: required
|
|
|
|
# g++ 6 on Linux with C++14
|
|
|
|
- env: COMPILER=g++-6 BUILD=Debug STANDARD=14
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-6
|
|
|
|
- env: COMPILER=g++-6 BUILD=Release STANDARD=14
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-6
|
2020-04-23 21:03:34 +01:00
|
|
|
# g++ 8 on Linux with C++17
|
|
|
|
- env: COMPILER=g++-8 BUILD=Debug STANDARD=17
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-8
|
|
|
|
- env: COMPILER=g++-8 BUILD=Release STANDARD=17
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-8
|
|
|
|
|
2020-04-22 20:57:22 +01:00
|
|
|
# Apple clang on OS X with C++14
|
|
|
|
- env: BUILD=Debug STANDARD=14
|
|
|
|
compiler: clang
|
|
|
|
os: osx
|
|
|
|
- env: BUILD=Release STANDARD=14
|
|
|
|
compiler: clang
|
|
|
|
os: osx
|
2020-04-23 21:03:34 +01:00
|
|
|
# clang 6.0 on Linux with C++14 (builds the fuzzers as well)
|
|
|
|
- env: COMPILER=clang++-6.0 BUILD=Debug STANDARD=14 ENABLE_FUZZING=1
|
2020-04-22 20:57:22 +01:00
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- clang-6.0
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-trusty
|
|
|
|
- llvm-toolchain-trusty-6.0
|
|
|
|
# clang 4.0 on Linux with C++14
|
|
|
|
- env: COMPILER=clang++-4.0 BUILD=Debug STANDARD=11
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- clang-4.0
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-trusty
|
|
|
|
- llvm-toolchain-trusty-4.0
|
|
|
|
# g++ 4.8 on Linux with C++11
|
|
|
|
- env: COMPILER=g++-4.8 BUILD=Debug STANDARD=11
|
|
|
|
compiler: gcc
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi
|
|
|
|
- if [[ "${BUILD}" != "Doc" ]]; then ${CXX} --version; fi
|
2020-04-22 20:24:48 +01:00
|
|
|
|
|
|
|
script:
|
|
|
|
- support/travis-build.py
|