forked from GrossfieldLab/loos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (30 loc) · 858 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
36
37
38
39
language: cpp
branches:
only:
- master
matrix:
include:
- os: linux
- os: osx
osx_image: xcode10.1
addons:
apt:
packages:
- libboost-all-dev
- libatlas-base-dev
- libatlas-dev
- libnetcdf-dev
- swig
- python-dev
- python-numpy
- doxygen
- graphviz
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install boost; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install netcdf; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install swig; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install doxygen; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install graphviz; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install scons; fi
script: scons