-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
64 lines (59 loc) · 1.63 KB
/
Copy path.travis.yml
File metadata and controls
64 lines (59 loc) · 1.63 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: generic
cache: pip
matrix:
include:
- os: linux
dist: xenial
compiler: gcc
addons:
apt:
packages:
- gfortran
- os: linux
dist: xenial
compiler: clang
- os: osx
compiler: gcc
osx_image: xcode9.3
- os: osx
compiler: gcc
osx_image: xcode9.2
- os: osx
compiler: gcc
osx_image: xcode9.1
- os: osx
compiler: gcc
osx_image: xcode8.3
allow_failures:
- os: osx
compiler: gcc
osx_image: xcode9.3
- os: osx
compiler: gcc
osx_image: xcode9.2
- os: osx
compiler: gcc
osx_image: xcode9.1
- os: osx
compiler: gcc
osx_image: xcode8.3
install:
- export BASE_DIR=`pwd`
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gcc || brew link --overwrite gcc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 install --user --upgrade pip setuptools wheel; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export F77=gfortran; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pyenv versions; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pyenv shell 2.7 3.6; fi
- pip3 install --user --upgrade sympy python-libsbml numpy matplotlib ipdb
script:
- cd $BASE_DIR
- misc/runCI.sh
# test if all result plots have been generated
#- test `ls $BASE_DIR/BirthDeath*pdf | wc -l` = 7
after_failure:
- ls -alR
- cat $BASE_DIR/models/BirthDeath/C/*.c
notifications:
email: false