Update .travis.yml

This commit is contained in:
Gabi Melman 2021-08-10 22:05:54 +03:00 committed by GitHub
parent ddaa61ca9a
commit 9ce9804a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,14 @@ addons: &gcc9
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
# gcc 11.0
addons: &gcc11
apt:
packages:
- g++-11
sources:
- ubuntu-toolchain-r-test
# Clang 3.5 # Clang 3.5
addons: &clang35 addons: &clang35
@ -79,6 +87,12 @@ matrix:
os: linux os: linux
addons: *gcc9 addons: *gcc9
# Test gcc-11.0: C++20, Build=Debug
- env: GCC_VERSION=12 BUILD_TYPE=Debug CPP=20 ASAN=Off
os: linux
dist: bionic
addons: *gcc11
# Test clang-3.5: C++11, Build=Release # Test clang-3.5: C++11, Build=Release
- env: CLANG_VERSION=3.5 BUILD_TYPE=Release CPP=11 - env: CLANG_VERSION=3.5 BUILD_TYPE=Release CPP=11
os: linux os: linux
@ -107,12 +121,6 @@ matrix:
dist: bionic dist: bionic
addons: *clang12 addons: *clang12
# Test clang-12.0: C++20, Build=Debug
- env: CLANG_VERSION=12 BUILD_TYPE=Debug CPP=20 ASAN=Off
os: linux
dist: bionic
addons: *clang12
before_script: before_script:
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi - if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi