forked from MonashBI/arcana-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (44 loc) · 876 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
language: python
python:
- 2.7
addons:
apt:
packages:
- git
- g++
- python
- python-numpy
- libeigen3-dev
- zlib1g-dev
- libqt4-opengl-dev
- libgl1-mesa-dev
- libfftw3-dev
- libtiff5-dev
- python-pip
- wget
- cmake
install:
- export NUMBER_OF_PROCESSORS=8
- install/modules.sh
- export MODULESHOME=$HOME/packages/modules
- export MODULEPATH=$HOME/modules
- install/dcm2niix.sh
- install/netrc.sh
- cat $HOME/.netrc
- install/mrtrix.sh
- pip install .
- mkdir -p $HOME/data
- mkdir ./test/data
- ln -s $HOME/xnat-cache ./test/data/cache
- pip install nose
- pip install codecov
script:
nosetests test/unittests --with-coverage --cover-package=nianalysis
cache:
directories:
- $HOME/packages
- $HOME/modules
- $HOME/downloads
- $HOME/xnat-cache
after_success:
codecov