forked from nipy/heudiconv
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (37 loc) · 1.17 KB
/
.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
# vim ft=yaml
language: python
python:
- 3.5
- 3.6
- 3.7
- 3.8
cache:
- apt
env:
global:
# will be used in the matrix, where neither other variable is used
- BOTO_CONFIG=/tmp/nowhere
- DATALAD_TESTS_SSH=1
before_install:
# The ultimate one-liner setup for NeuroDebian repository
- 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 git-annex-standalone dcm2niix
# Install in our own virtualenv
- python -m pip install --upgrade pip
- pip install --upgrade virtualenv
- virtualenv --python=python venv
- source venv/bin/activate
- pip --version # check again since seems that python_requires='>=3.5' in secretstorage is not in effect
- python --version # just to check
- pip install -r dev-requirements.txt
- pip install requests # below installs pyld but that assumes we have requests already
- pip install datalad
- pip install codecov pytest
install:
- git config --global user.email "test@travis.land"
- git config --global user.name "Travis Almighty"
script:
- coverage run `which py.test` -s -v heudiconv
after_success:
- codecov