Skip to content

Commit a1fb767

Browse files
authored
Merge pull request #1510 from ararslan/aa/travis-macos
Add macOS to the Travis testing matrix
2 parents 6c99c97 + 6a09305 commit a1fb767

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.travis.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ language: c
77
jobs:
88
include:
99
- &test-ubuntu
10+
os: linux
1011
stage: test
1112
compiler: gcc
1213
addons:
@@ -57,7 +58,8 @@ jobs:
5758
- TARGET_BOX=LINUX32
5859
- BTYPE="BINARY=32"
5960

60-
- stage: test
61+
- os: linux
62+
stage: test
6163
compiler: gcc
6264
addons:
6365
apt:
@@ -77,6 +79,7 @@ jobs:
7779
# which is slower than container-based infrastructure used for jobs
7880
# that don't require sudo.
7981
- &test-alpine
82+
os: linux
8083
stage: test
8184
dist: trusty
8285
sudo: true
@@ -120,6 +123,7 @@ jobs:
120123
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
121124

122125
- &test-cmake
126+
os: linux
123127
stage: test
124128
compiler: clang
125129
addons:
@@ -147,6 +151,17 @@ jobs:
147151
env:
148152
- CMAKE=1
149153

154+
- os: osx
155+
stage: test
156+
osx_image: xcode8
157+
before_script: *common-before
158+
- brew update
159+
- brew install gcc # for gfortran
160+
script:
161+
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
162+
env:
163+
- BTYPE="BINARY=64 INTERFACE64=1"
164+
150165
# whitelist
151166
branches:
152167
only:

0 commit comments

Comments
 (0)