From ea850b32d52bbdc436f1bad71e7a2367c5524721 Mon Sep 17 00:00:00 2001 From: Crzyrndm Date: Sat, 14 Jul 2018 19:59:03 +1200 Subject: [PATCH] Add clang 4.0 to travis builds --- .travis.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f89d204d..07c4db3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ matrix: - STATIC=ON - SAMPLES=OFF - BENCHMARKS=OFF - # gcc-6, c++11, debug build, dll + # gcc-6, c++11, debug build, dynamic linking - os: linux compiler: gcc addons: @@ -64,6 +64,24 @@ matrix: - STATIC=ON - SAMPLES=ON - BENCHMARKS=ON + # clang 4, c++11, release build, dynamic linking, samples + benchmarks compiled + - os: linux + compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-trusty-4.0 + packages: + - clang-4.0 + env: + - CXX_COMPILER=clang++-4.0 + - C_COMPILER=clang-4.0 + - BUILD_TYPE=Release + - COVERAGE=OFF + - STATIC=OFF + - SAMPLES=ON + - BENCHMARKS=ON # clang 6, c++11, release build, static linking, samples + benchmarks compiled - os: linux compiler: clang