Skip to content

Commit 6e9c419

Browse files
committed
Try matrix expansion of OS on Travis-CI
1 parent 912036b commit 6e9c419

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.travis.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
language: generic
22

3-
os: linux
3+
os:
4+
- osx
5+
- linux
46
sudo: false
57
cache:
68
apt: false
@@ -32,19 +34,11 @@ env:
3234
- CC=gcc-6
3335
- CXX=g++-6
3436
matrix:
35-
- BUILD_TYPE="Release"
36-
- BUILD_TYPE="CodeCoverage"
37+
- BUILD_TYPE="Release" OSX_PACKAGES="gcc@6 cmake"
38+
- BUILD_TYPE="CodeCoverage" OSX_PACKAGES="gcc@6 cmake"
3739

3840
matrix:
3941
include:
40-
- os: osx
41-
env:
42-
- BUILD_TYPE="CodeCoverage"
43-
OSX_PACKAGES="gcc@6 cmake"
44-
- os: osx
45-
env:
46-
- BUILD_TYPE="Release"
47-
OSX_PACKAGES="gcc@6 cmake"
4842
- os: osx
4943
env:
5044
- BUILD_TYPE="InstallScript"

0 commit comments

Comments
 (0)