From 16d76e2293abde0dca159a554d0282b720e037fe Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 27 Jul 2021 01:29:36 +0300 Subject: [PATCH] Update .travis.yml --- .travis.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e66fed4d..00abc660 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,16 @@ addons: &clang10 sources: - sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main" 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: @@ -89,8 +99,14 @@ matrix: os: linux dist: bionic 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: - if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi