forked from NeuroML/NeuroML2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (60 loc) · 1.88 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
67
68
69
70
71
72
73
74
75
dist: xenial
addons:
apt:
packages:
# Requirements for Brian & NEST
- python-numpy
- python-scipy
- python-matplotlib
- python-sympy
# Requirements for NetPyNE & libNeuroML
- python-tk
- python-lxml
- python-tornado
# Requirements for Moose
- python-dev
- libhdf5-dev
- libgsl0-dev
- g++
language: python
python:
- 2.7
- 3.7
branches:
except:
- documentation_update
env:
- OMV_ENGINE=jNeuroML
- OMV_ENGINE=PyLEMS_NeuroML2
- OMV_ENGINE=jNeuroML_NEURON
- OMV_ENGINE=jNeuroML_NetPyNE
- OMV_ENGINE=jNeuroML_Brian
- OMV_ENGINE=jNeuroML_Brian2
#- OMV_ENGINE=jNeuroML_Moose # issue on xenial and python 3?
- OMV_ENGINE=jNeuroML_validate
install:
- pip install kiwisolver==1.1.0 # Temporary, due to issues with 1.2.0
- export main_repo_branch=$TRAVIS_BRANCH
- echo $main_repo_branch
- if [[ ${main_repo_branch} != "master" && ${main_repo_branch} != "development" && ${main_repo_branch} != "experimental" ]]; then main_repo_branch=development ; fi
- mvn install
- git clone https://github.com/NeuroML/jNeuroML.git
- cd jNeuroML
- git checkout $main_repo_branch
- python getNeuroML.py $main_repo_branch # will call mvn install on this & other repos
- ls -alt
- mvn dependency:tree
- export PATH=$PATH:$TRAVIS_BUILD_DIR/jNeuroML
- export JNML_HOME=$TRAVIS_BUILD_DIR/jNeuroML
- cd
- pip install git+https://github.com/OpenSourceBrain/osb-model-validation
- pip install matplotlib>=2.2.5 # This is more because Matplotlib v2.x is required...
- pip install future pandas matplotlib-scalebar bokeh scipy
script:
- jnml -v
- cd $TRAVIS_BUILD_DIR/NeuroML2/LEMSexamples
- pwd
- ls -alt
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then omv all -V; else omv all -V --ignore-non-py3; fi
- omv list -V
- java -version