-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
36 lines (32 loc) · 941 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: cpp
matrix:
include:
- os: osx
osx_image: osx10.11
env: OSX=10.11
compiler: clang
- os: osx
osx_image: xcode7
env: OSX=10.10
compiler: clang
- os: osx
osx_image: beta-xcode6.2
env: OSX=10.9
compiler: clang
- os: linux
addons:
apt:
packages:
- gfortran
- libblas-dev
- liblapack-dev
- libatlas-dev
allow_failures:
- os: osx
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$OSX" != "10.9" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$OSX" != "10.9" ]]; then brew install gcc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export ADD_CXXFLAGS=-D__OSX__; fi
- git clone https://gist.github.com/tkralphs/13d4529b4d4e8889f3a6 scripts
- bash scripts/get.dependencies.sh fetch > /dev/null
script: bash scripts/get.dependencies.sh build --quiet