Skip formatting on Travis
This commit is contained in:
parent
706847dd47
commit
49b7703334
1 changed files with 4 additions and 9 deletions
13
.travis.yml
13
.travis.yml
|
@ -1,15 +1,10 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- llvm-toolchain-trusty-5.0
|
|
||||||
packages:
|
|
||||||
- clang-format-5.0 # needed for formatting
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- CLANG_FORMAT_SUFFIX="-5.0"
|
- CLANG_FORMAT_SUFFIX="-dummy" # don't use formatting on Travis, this is
|
||||||
|
# needed not to use default 3.5 version
|
||||||
|
# which is too old.
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
@ -28,7 +23,7 @@ matrix:
|
||||||
sources:
|
sources:
|
||||||
- llvm-toolchain-trusty-4.0
|
- llvm-toolchain-trusty-4.0
|
||||||
packages:
|
packages:
|
||||||
- clang-4.0 # note this is *NOT* the same version as clang-format
|
- clang-4.0
|
||||||
- os: linux
|
- os: linux
|
||||||
env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
|
env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
|
||||||
addons:
|
addons:
|
||||||
|
|
Loading…
Reference in a new issue