Skip to content

Commit c83d768

Browse files
committed
infra: Move travis build compatibility tests into main stage
This means build compatibility checks are run even if there is a functionality failure. This ensures that all builds get checked for compilation warnings (even if there is a functionality failure).
1 parent 394e069 commit c83d768

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ stages:
7575
# if: type != cron
7676
- name: Test
7777
if: type != cron
78-
- name: Build Compatibility
79-
if: type != cron
8078
- name: Build Coverity
8179
if: type = cron
8280

@@ -121,50 +119,51 @@ jobs:
121119
- ./.github/travis/build.sh
122120
- ./run_reg_test.pl odin_reg_micro -show_failures -j2
123121

124-
- stage: Build Compatibility
122+
- stage: Test
125123
name: "GCC 5 (Ubuntu Xenial - 16.04)"
126124
env:
127125
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
128126
- BUILD_TYPE=release_strict
129127
script:
130128
- ./.github/travis/build.sh
131-
- stage: Build Compatibility
129+
- stage: Test
132130
name: "GCC 6 (Debian Stretch)"
133131
env:
134132
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
135133
- BUILD_TYPE=release_strict
136134
script:
137135
- ./.github/travis/build.sh
138-
- stage: Build Compatibility
136+
- stage: Test
139137
name: "GCC 7 (Ubuntu Bionic - 18.04)"
140138
env:
141139
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
142140
script:
143141
- ./.github/travis/build.sh
144-
- stage: Build Compatibility
142+
- stage: Test
145143
name: "GCC 8 (Ubuntu Latest)"
146144
env:
147145
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
148146
script:
149147
- ./.github/travis/build.sh
150-
- stage: Build Compatibility
148+
- stage: Test
151149
name: "GCC 9 (Latest Release)"
152150
env:
153151
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
154152
script:
155153
- ./.github/travis/build.sh
156-
- stage: Build Compatibility
154+
- stage: Test
157155
name: "clang-6.0 (Debian + Ubuntu common)"
158156
env:
159157
- MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
160158
script:
161159
- ./.github/travis/build.sh
162-
- stage: Build Compatibility
160+
- stage: Test
163161
name: "clang-8 (Latest Release)"
164162
env:
165163
- MATRIX_EVAL="CC=clang-8 && CXX=clang++-8"
166164
script:
167165
- ./.github/travis/build.sh
166+
168167
- stage: Build Coverity
169168
name: "Coverity Scan"
170169
env:

0 commit comments

Comments
 (0)