Skip to content

Commit

Permalink
Run code style linter first (#7213)
Browse files Browse the repository at this point in the history
The code style linter is the most likely to fail, so should be
placed at the top of the list so it's started first. Note that
a failed job doesn't stop others from running
  • Loading branch information
rubenwardy authored and paramat committed Jul 5, 2018
1 parent 03edcaf commit 738c8b1
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .travis.yml
Expand Up @@ -9,6 +9,26 @@ notifications:
matrix:
fast_finish: true
include:

- env: LINT=1
compiler: clang
os: linux
addons:
apt:
packages: ['clang-format-5.0']
sources: &sources
- llvm-toolchain-trusty-5.0

- env: CLANG_TIDY=1
compiler: clang
os: linux
script: ./util/travis/clangtidy.sh
addons:
apt:
packages: ['clang-tidy-5.0']
sources: &sources
- llvm-toolchain-trusty-5.0

- env: PLATFORM=Win32
compiler: gcc
os: linux
Expand Down Expand Up @@ -87,24 +107,3 @@ matrix:
packages: ['valgrind', 'clang-5.0', 'clang++-5.0']
sources: &sources
- llvm-toolchain-trusty-5.0

- env: LINT=1
compiler: clang
os: linux
addons:
apt:
packages: ['clang-format-5.0']
sources: &sources
- llvm-toolchain-trusty-5.0
- env: CLANG_TIDY=1
compiler: clang
os: linux
script: ./util/travis/clangtidy.sh
addons:
apt:
packages: ['clang-tidy-5.0']
sources: &sources
- llvm-toolchain-trusty-5.0



0 comments on commit 738c8b1

Please sign in to comment.