Skip to content

Commit 423cd49

Browse files
Ensure all compile jobs declare their compiler type
Some of the travis compile jobs were not declaring the 'compiler' property. While this doesn't currently cause us any problems, we should be consistent between the jobs. It also slightly improves the chance of jobs for a new PR to pickup a useful seed cache, since Travis looks for caches in the following order: 1 - If the PR has previously been built, the cache from that build 2 - else, the cache for the target branch (e.g. develop) 3 - else, a cache for the compiler type (e.g. gcc)
1 parent 7b6f849 commit 423cd49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ jobs:
169169
# cmake build using g++-5
170170
- stage: Test different OS/CXX/Flags
171171
os: linux
172+
compiler: gcc
172173
cache: ccache
173174
env:
174175
- BUILD_SYSTEM=cmake
@@ -189,6 +190,7 @@ jobs:
189190

190191
- stage: Test different OS/CXX/Flags
191192
os: osx
193+
compiler: clang
192194
cache: ccache
193195
before_install:
194196
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache

0 commit comments

Comments
 (0)