diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-12-03 14:42:28 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-12-03 15:38:36 +0100 |
commit | e12cd6aef4858b09c8ca449e779a58d15e878932 (patch) | |
tree | 9d6ad9acc6eae9075e03f09dcffbef8a02f88d4b /.travis.yml | |
parent | 673e87f6516917d5c45a1c96c7a9c56ed6fef2cc (diff) | |
download | qtlocation-mapboxgl-e12cd6aef4858b09c8ca449e779a58d15e878932.tar.gz |
[build] Add clang-tidy to Travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index a17163a3e6..4948faf39c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,6 +95,12 @@ matrix: addons: apt: packages: [ 'lib32stdc++6' ] + - os: linux + env: FLAVOR=linux CXX=clang++-3.8 BUILDTYPE=Release ACTION=tidy AWS_ACCESS_KEY_ID= + addons: + apt: + sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise' ] + packages: [ 'clang-tidy-3.8', 'libgcc-4.9-dev', 'libstdc++-4.9-dev', 'libstdc++6', 'libllvm3.4', 'libclang-common-3.8-dev', 'libclang1-3.8', 'liblldb-3.8', 'libllvm3.8', 'lldb-3.8', 'llvm-3.8', 'llvm-3.8-dev', 'llvm-3.8-runtime', 'xutils-dev', 'libxxf86vm-dev', 'x11proto-xf86vidmode-dev', 'mesa-utils' ] env: global: @@ -121,7 +127,7 @@ install: - ./scripts/${FLAVOR}/install.sh script: -- ./scripts/${FLAVOR}/run.sh +- ./scripts/${FLAVOR}/${ACTION:-run}.sh after_failure: - "[ -f ./scripts/${FLAVOR}/after_failure.sh ] && ./scripts/${FLAVOR}/after_failure.sh" |