forked from GrossfieldLab/loos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (44 loc) · 1.47 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
language: cpp
branches:
only:
- master
matrix:
include:
- os: linux
- os: osx
osx_image: xcode10.1
#addons:
# apt:
# packages:
# - scons
# - libboost-all-dev
# - libboost-regex-dev
# - libatlas-base-dev
# - libnetcdf-dev
# - swig
# - python3-dev
# - python3-numpy
# - python3-scipy
# - libeigen3-dev
#
#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
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install eigen; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
script:
- ./conda_build.sh loos 1