From f828c55ec748f14c3f9cf7dcc69669b878bb625b Mon Sep 17 00:00:00 2001 From: Roelf-Jilling Date: Sat, 11 Jan 2020 00:48:14 +0100 Subject: [PATCH] TravisCI: add Clang-8 and 9 --- .travis.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0bd1e83..15d9318 100644 --- a/.travis.yml +++ b/.travis.yml @@ -229,6 +229,46 @@ matrix: - name: Clang-7 C++17 Release env: CXX=clang++ BUILD_TYPE=Release GSL_CXX_STANDARD=17 + # Clang 8 + - name: Clang-8 C++14 Debug + env: CXX=clang++-8 BUILD_TYPE=Debug GSL_CXX_STANDARD=14 + addons: &clang8 + apt: + sources: + - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main' + key_url: https://apt.llvm.org/llvm-snapshot.gpg.key + packages: + - clang-8 + - name: Clang-8 C++14 Release + env: CXX=clang++-8 BUILD_TYPE=Release GSL_CXX_STANDARD=14 + addons: *clang8 + - name: Clang-8 C++17 Debug + env: CXX=clang++-8 BUILD_TYPE=Debug GSL_CXX_STANDARD=17 + addons: *clang8 + - name: Clang-8 C++17 Release + env: CXX=clang++-8 BUILD_TYPE=Release GSL_CXX_STANDARD=17 + addons: *clang8 + + # Clang 9 + - name: Clang-9 C++14 Debug + env: CXX=clang++-9 BUILD_TYPE=Debug GSL_CXX_STANDARD=14 + addons: &clang9 + apt: + sources: + - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main' + key_url: https://apt.llvm.org/llvm-snapshot.gpg.key + packages: + - clang-9 + - name: Clang-9 C++14 Release + env: CXX=clang++-9 BUILD_TYPE=Release GSL_CXX_STANDARD=14 + addons: *clang9 + - name: Clang-9 C++17 Debug + env: CXX=clang++-9 BUILD_TYPE=Debug GSL_CXX_STANDARD=17 + addons: *clang9 + - name: Clang-9 C++17 Release + env: CXX=clang++-9 BUILD_TYPE=Release GSL_CXX_STANDARD=17 + addons: *clang9 + ########################################################################## # GCC on Linux ##########################################################################