forked from NeuroML/NeuroML2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (28 loc) · 1018 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
language: python
python: 2.7
env:
- OMV_ENGINE=jNeuroML
- OMV_ENGINE=PyLEMS_NeuroML2
- OMV_ENGINE=jNeuroML_NEURON
- OMV_ENGINE=jNeuroML_Brain
- OMV_ENGINE=jNeuroML_validate
install:
- 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
- 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
script:
- jnml -v
- cd $TRAVIS_BUILD_DIR/NeuroML2/LEMSexamples
- pwd
- ls -alt
- omv all -V