From c8f726151b898980d916b67540bf5749a7bf7c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 19 Sep 2018 13:01:28 -0300 Subject: [PATCH] travis: Add clang tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move from clang3.7 to 7 Signed-off-by: Patrick José Pereira --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7223bdea28..0351e4ce1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,8 @@ addons: apt: sources: - ubuntu-toolchain-r-test -# - llvm-toolchain-precise-3.7 + - sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main' + key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' packages: - build-essential - gawk @@ -20,8 +21,8 @@ addons: - g++-4.9 - cmake3 - cmake3-data -# - clang-3.7 -# - llvm-3.7 + - clang-7 + - llvm-7 cache: ccache: false @@ -45,7 +46,6 @@ notifications: compiler: - gcc -# - clang env: global: @@ -66,4 +66,7 @@ matrix: env: CI_BUILD_TARGET="sitltest-copter" - if: type != cron compiler: "gcc" - env: CI_BUILD_TARGET="sitltest-quadplane sitltest-plane sitltest-rover" + env: CI_BUILD_TARGET="sitltest-quadplane sitltest-plane" + - if: type != cron + compiler: "clang" + env: CI_BUILD_TARGET="sitltest-rover"