forked from pramodk/nrn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (38 loc) · 937 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
language: cpp
sudo: false
dist: trusty
addons:
apt:
packages:
- python3-pip
- python-pip
- python3-scipy
- python-scipy
- python-tk
virtualenv:
system_site_packages: true
compiler:
- clang
- gcc
env:
- CONFIG_OPTIONS="--without-x --without-paranrn --with-nrnpython=$(which python2)"
PYTHON="$(which python2)"
PIP="$(which pip)"
- CONFIG_OPTIONS="--without-x --without-paranrn --with-nrnpython=$(which python3)"
PYTHON="$(which python3)"
PIP="$(which pip3)"
os:
- linux
before_install:
- echo $LANG
- echo $LC_ALL
- $CXX -v
- export PYTHONPATH=$PYTHONPATH:$(pwd)/install/lib/python/
install:
- $PIP install --user numpy
- $PIP install --user matplotlib
- export PYTHONPATH=$PYTHONPATH:$HOME/.local/lib/python*/
script:
- ./travis_build.sh build_out_of_tree
- ./travis_build.sh .
- $PYTHON share/lib/python/neuron/rxdtests/run_all.py