forked from NeuralEnsemble/libNeuroML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 897 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
language: python
#python 3 not supported as dependencies (generateDS,jsonpickle,h5py,numpy and others) don't support it
python:
- "2.6"
- "2.7"
# - "3.2"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libhdf5-serial-dev
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install unittest2; fi
- pip install cython numpy
# command to install dependencies
install:
- "pip install lxml"
- "pip install numpy"
- "pip install numexpr"
- "pip install . --use-mirrors"
- "pip install jsonpickle"
- "pip install pymongo"
- if [[ $TRAVIS_PYTHON_VERSION != "3.2" ]]; then pip install simplejson; fi
- "pip install tables"
- "pip install -r requirements.txt --use-mirrors"
# command to run tests and examples, e.g. python setup.py test
script:
- cd ./neuroml/test && nosetests
- cd ../examples && python run_all.py
services: mongodb