-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
66 lines (49 loc) · 1.49 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Framework for running automated tests on OSB using Travis-CI, see https://github.com/OpenSourceBrain/osb-model-validation
dist: bionic # bionic + py3.6 required for building Nest using omv...
addons:
apt:
packages:
# Requirements for NEST
- python-numpy
- python-scipy
- python-matplotlib
- python-sympy
- python-nose
- python-tables
- python-dev
- python3-dev
- libreadline-dev
- libncurses-dev
- libboost-python-dev
- libltdl-dev
- libgsl-dev
- cython
- openmpi-bin
- libopenmpi-dev
language: python
python:
- "2.7"
- "3.6" # bionic + py3.6 required for building Nest using omv...
env:
- OMV_ENGINE=jNeuroML
- OMV_ENGINE=jNeuroML_validate
- OMV_ENGINE=jLEMS
#- OMV_ENGINE=PyNEST:2.14.0
#- OMV_ENGINE=PyNEST:2.16.0
- OMV_ENGINE=PyNEST:2.18.0
- OMV_ENGINE=PyNEST:2.20.0
- OMV_ENGINE=NEST
install:
- pip install scipy matplotlib # Why is this needed? Doesn't seem to get installed correctly with addons above...
# Install OMV
- pip install git+https://github.com/OpenSourceBrain/osb-model-validation
script:
- omv list-engines -V
- omv all -V
- export JNML_HOME=/home/travis/jnml/jNeuroMLJar
- export PATH=$PATH:$JNML_HOME
- if [[ ${OMV_ENGINE} == "jNeuroML" ]]; then ./regenerate.sh ; fi
# Set NEST variables
- if [[ ${OMV_ENGINE} == *"NEST"* ]]; then source $TRAVIS_HOME/nest/nest/bin/nest_vars.sh; which nest ; fi
- omv list-engines -V
- env