Update .travis.yml

This commit is contained in:
Gabi Melman 2021-07-27 01:29:36 +03:00 committed by GitHub
parent 536e583cbe
commit 16d76e2293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,16 @@ addons: &clang10
sources: sources:
- sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main" - sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key" key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
addons: &clang12
apt:
packages:
- clang-12
- lldb-12
- lld-12
sources:
- sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-12 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
matrix: matrix:
@ -89,8 +99,14 @@ matrix:
os: linux os: linux
dist: bionic dist: bionic
addons: *clang10 addons: *clang10
# Test clang-12.0: C++20, Build=Debug
- env: CLANG_VERSION=11 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