forked from NILAB-UvA/bidsify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·36 lines (30 loc) · 846 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
language: python
sudo: false
env:
global:
- PIP_DEPS="coveralls pytest-cov flake8"
python:
- '3.6'
before_install:
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
- travis_retry sudo apt-get update -qq
#- travis_retry sudo apt-get install dcm2niix
- git clone https://github.com/neurolabusc/dcm2niix
- mkdir dcm2niix/build
- cd dcm2niix/build
- cmake ..
- make
- sudo cp bin/dcm2niix /usr/bin
- travis_retry sudo apt-get install nodejs
- npm install -g bids-validator
install:
- travis_retry pip install --upgrade pytest # new pytest>3.3 for coveralls
- travis_retry pip install $PIP_DEPS
- cd $TRAVIS_BUILD_DIR
- travis_retry pip install -r requirements.txt
- travis_retry pip install -e .
script:
- python download_test_data.py
- py.test --cov=bidsify/
after_success:
- coveralls