Skip formatting on Travis

This commit is contained in:
Michał Janiszewski 2017-11-17 00:00:41 +01:00 committed by Chris Marsh
parent 706847dd47
commit 49b7703334

View file

@ -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: