Add macOS to the Travis testing matrix

This commit is contained in:
Alex Arslan 2018-04-07 10:56:34 -07:00
parent be6090d396
commit 2e988dbf35
No known key found for this signature in database
GPG Key ID: EC409F3AF54AD659
1 changed files with 17 additions and 1 deletions

View File

@ -7,6 +7,7 @@ language: c
jobs: jobs:
include: include:
- &test-ubuntu - &test-ubuntu
os: linux
stage: test stage: test
compiler: gcc compiler: gcc
addons: addons:
@ -57,7 +58,8 @@ jobs:
- TARGET_BOX=LINUX32 - TARGET_BOX=LINUX32
- BTYPE="BINARY=32" - BTYPE="BINARY=32"
- stage: test - os: linux
stage: test
compiler: gcc compiler: gcc
addons: addons:
apt: apt:
@ -77,6 +79,7 @@ jobs:
# which is slower than container-based infrastructure used for jobs # which is slower than container-based infrastructure used for jobs
# that don't require sudo. # that don't require sudo.
- &test-alpine - &test-alpine
os: linux
stage: test stage: test
dist: trusty dist: trusty
sudo: true sudo: true
@ -120,6 +123,7 @@ jobs:
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2" - BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
- &test-cmake - &test-cmake
os: linux
stage: test stage: test
compiler: clang compiler: clang
addons: addons:
@ -147,6 +151,18 @@ jobs:
env: env:
- CMAKE=1 - CMAKE=1
- os: osx
stage: test
osx_image: xcode8
before_script:
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
- brew update
- brew install gcc # for gfortran
script:
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
env:
- BTYPE="BINARY=64 INTERFACE64=1"
# whitelist # whitelist
branches: branches:
only: only: