forked from NeuralEnsemble/neurotune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (32 loc) · 929 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
39
40
41
42
43
44
45
sudo: false
addons:
apt:
packages:
- python-numpy
- python-scipy
# Quick fix, requires matrix for addons...
- python3-numpy
- python3-scipy
language: python
python:
- "2.7"
- "3.2"
virtualenv:
system_site_packages: true
install:
# install pyelectro
- pip install git+https://github.com/NeuralEnsemble/pyelectro.git
# install inspyred
- pip install inspyred
# Install OMV to facilitate installation of Neuron
- pip install git+https://github.com/OpenSourceBrain/osb-model-validation
# install neurotune
- python setup.py install
# command to run tests
script:
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then exit 0 ; fi # OMV only works in Python 2 so far...
# Need to pre install PyNEURON for testing models
- omv install PyNEURON
- export NEURON_HOME=/home/travis/neuron/nrn/x86_64/
- export PATH=$PATH:$NEURON_HOME/bin
- ./test.sh