mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
travis: Add clang tests
Move from clang3.7 to 7 Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
9a48a0835e
commit
c8f726151b
13
.travis.yml
13
.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"
|
||||
|
Loading…
Reference in New Issue
Block a user