Skip to content

Commit 11dfcf6

Browse files
committed
Travis: Move the OSX GCC build to the first stage as well
We can run up to 10 jobs in parallel - make use of that!
1 parent beb960e commit 11dfcf6

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.travis.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
include:
55

66
- &formatting-stage
7-
stage: Linter + Doxygen + non-debug Ubuntu/gcc-5 build
7+
stage: Linter + Doxygen + non-debug GCC builds
88
env: NAME="clang-format"
99
addons:
1010
apt:
@@ -32,20 +32,20 @@ jobs:
3232
before_cache:
3333

3434
- &linter-stage
35-
stage: Linter + Doxygen + non-debug Ubuntu/gcc-5 build
35+
stage: Linter + Doxygen + non-debug GCC builds
3636
env: NAME="CPP-LINT"
3737
install:
3838
script: scripts/travis_lint.sh
3939
before_cache:
4040

4141
- &string-table-check
42-
stage: Linter + Doxygen + non-debug Ubuntu/gcc-5 build
42+
stage: Linter + Doxygen + non-debug GCC builds
4343
env: NAME="string-table"
4444
install:
4545
script: scripts/string_table_check.sh
4646
before_cache:
4747

48-
- stage: Linter + Doxygen + non-debug Ubuntu/gcc-5 build
48+
- stage: Linter + Doxygen + non-debug GCC builds
4949
env: NAME="DOXYGEN-CHECK"
5050
addons:
5151
apt:
@@ -69,7 +69,7 @@ jobs:
6969
- scripts/publish_doc.sh
7070

7171
# Ubuntu Linux with glibc using g++-5
72-
- stage: Linter + Doxygen + non-debug Ubuntu/gcc-5 build
72+
- stage: Linter + Doxygen + non-debug GCC builds
7373
os: linux
7474
sudo: false
7575
compiler: gcc
@@ -92,7 +92,7 @@ jobs:
9292
script: echo "Tests are run in the next stage."
9393

9494
# cmake build using g++-5
95-
- stage: Linter + Doxygen + non-debug Ubuntu/gcc-5 build
95+
- stage: Linter + Doxygen + non-debug GCC builds
9696
os: linux
9797
compiler: gcc
9898
cache: ccache
@@ -113,6 +113,18 @@ jobs:
113113
- cmake --build build -- -j4
114114
script: echo "Tests are run in the next stage."
115115

116+
# OS X using g++
117+
- stage: Linter + Doxygen + non-debug GCC builds
118+
os: osx
119+
sudo: false
120+
compiler: gcc
121+
cache: ccache
122+
before_install:
123+
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache parallel
124+
- export PATH=$PATH:/usr/local/opt/ccache/libexec
125+
env: COMPILER="ccache g++"
126+
script: echo "Tests are run in the next stage."
127+
116128
# Ubuntu Linux with glibc using g++-5
117129
- stage: Test different OS/CXX/Flags
118130
os: linux

0 commit comments

Comments
 (0)