forked from openworm/CElegansNeuroML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (31 loc) · 1.14 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
# Framework for running automated tests on Open Source Brain using Travis-CI.
# See https://github.com/OpenSourceBrain/osb-model-validation for more details
language: python
python:
- "2.7"
env:
- OMV_ENGINE=jNeuroML
- OMV_ENGINE=jNeuroML_NEURON
- OMV_ENGINE=jNeuroML_validatev1
- OMV_ENGINE=jNeuroML_validate
- OMV_ENGINE=NON_OMV_TESTS
install:
# Required to run OMV tests
- pip install git+https://github.com/OpenSourceBrain/osb-model-validation
script:
- omv all -V; export OMV_SUCCESS=$?; echo $OMV_SUCCESS
- echo "Finished all OMV tests"
- if [[ ${OMV_ENGINE} == "NON_OMV_TESTS" ]]; then echo "Continuing with tests not under OMV..."; else exit $OMV_SUCCESS; fi
- echo "Running non OMV tests..."
- python setup.py install
# Test readers
- cd CElegans/pythonScripts
- python SpreadsheetDataReader.py
# Test regenerate connectome
- python RegenerateConnectome.py
# Install PyOpenWorm
- git clone https://github.com/openworm/PyOpenWorm.git
- cd PyOpenWorm
- python setup.py install
- cd ..
- python OpenWormReader.py