Update .travis.yml

This commit is contained in:
Gabi Melman 2021-07-10 14:20:06 +03:00 committed by GitHub
parent 3ed40d04a9
commit 0e49bfff51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,16 @@ addons: &gcc7
sources:
- ubuntu-toolchain-r-test
# gcc 9.0
addons: &gcc9
apt:
packages:
- g++-9
sources:
- ubuntu-toolchain-r-test
# Clang 3.5
addons: &clang35
apt:
@ -48,18 +58,25 @@ matrix:
- env: GCC_VERSION=4.8 BUILD_TYPE=Debug CPP=11
os: linux
addons: *gcc48
- env: GCC_VERSION=4.8 BUILD_TYPE=Release CPP=11
os: linux
addons: *gcc48
# Test gcc-7: C++11, Build=Debug/Release
- env: GCC_VERSION=7 BUILD_TYPE=Debug CPP=11
os: linux
addons: *gcc7
- env: GCC_VERSION=7 BUILD_TYPE=Release CPP=11
os: linux
addons: *gcc7
- env: GCC_VERSION=7 BUILD_TYPE=Deubg CPP=11
# Test gcc-9: C++17, Build=Debug/Release
- env: GCC_VERSION=9 BUILD_TYPE=Debug CPP=17
os: linux
addons: *gcc7
addons: *gcc9
- env: GCC_VERSION=9 BUILD_TYPE=Release CPP=17
os: linux
addons: *gcc9
# Test clang-3.5: C++11, Build=Debug/Release
- env: CLANG_VERSION=3.5 BUILD_TYPE=Debug CPP=11