Skip to content

Commit 738c8b1

Browse files
rubenwardyparamat
authored andcommittedJul 5, 2018
Run code style linter first (#7213)
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
1 parent 03edcaf commit 738c8b1

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed
 

‎.travis.yml

+20-21
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,26 @@ notifications:
99
matrix:
1010
fast_finish: true
1111
include:
12+
13+
- env: LINT=1
14+
compiler: clang
15+
os: linux
16+
addons:
17+
apt:
18+
packages: ['clang-format-5.0']
19+
sources: &sources
20+
- llvm-toolchain-trusty-5.0
21+
22+
- env: CLANG_TIDY=1
23+
compiler: clang
24+
os: linux
25+
script: ./util/travis/clangtidy.sh
26+
addons:
27+
apt:
28+
packages: ['clang-tidy-5.0']
29+
sources: &sources
30+
- llvm-toolchain-trusty-5.0
31+
1232
- env: PLATFORM=Win32
1333
compiler: gcc
1434
os: linux
@@ -87,24 +107,3 @@ matrix:
87107
packages: ['valgrind', 'clang-5.0', 'clang++-5.0']
88108
sources: &sources
89109
- llvm-toolchain-trusty-5.0
90-
91-
- env: LINT=1
92-
compiler: clang
93-
os: linux
94-
addons:
95-
apt:
96-
packages: ['clang-format-5.0']
97-
sources: &sources
98-
- llvm-toolchain-trusty-5.0
99-
- env: CLANG_TIDY=1
100-
compiler: clang
101-
os: linux
102-
script: ./util/travis/clangtidy.sh
103-
addons:
104-
apt:
105-
packages: ['clang-tidy-5.0']
106-
sources: &sources
107-
- llvm-toolchain-trusty-5.0
108-
109-
110-

0 commit comments

Comments
 (0)
Please sign in to comment.