Skip to content

Commit 15c437e

Browse files
authored
Merge pull request #1512 from ararslan/aa/travis-macos-2
Add macOS to the Travis testing matrix: Take 2!
2 parents be6090d + b966bd7 commit 15c437e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.travis.yml

Lines changed: 22 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,23 @@ jobs:
147151
env:
148152
- CMAKE=1
149153

154+
- &test-macos
155+
os: osx
156+
stage: test
157+
osx_image: xcode8
158+
before_script:
159+
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
160+
- brew update
161+
- brew install gcc # for gfortran
162+
script:
163+
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
164+
env:
165+
- BTYPE="BINARY=64 INTERFACE64=1"
166+
167+
- <<: *test-macos
168+
env:
169+
- BTYPE="BINARY=32"
170+
150171
# whitelist
151172
branches:
152173
only:

0 commit comments

Comments
 (0)