File: .travis.yml

package info (click to toggle)
heudiconv 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,492 kB
  • sloc: python: 4,258; sh: 101; makefile: 49
file content (43 lines) | stat: -rw-r--r-- 1,200 bytes parent folder | download
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