12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- language: python
- python:
- - 3.5
- - 3.6
- - 3.7
- - 3.8
- - 3.8-dev
- # required for python >= 3.7
- dist: xenial
- env:
- # https://pypi.org/project/pandas/#history
- - PANDAS_VERSION=
- - PANDAS_VERSION=1.*
- - PANDAS_VERSION=0.25.*
- - PANDAS_VERSION=0.24.*
- - PANDAS_VERSION=0.23.*
- - PANDAS_VERSION=0.22.*
- - PANDAS_VERSION=0.21.*
- # https://travis-ci.org/fphammerle/freesurfer-volume-reader/builds/525556257
- matrix:
- exclude:
- # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683777317#L208
- # https://github.com/pandas-dev/pandas/commit/18efcb27361478daa3118079ecb166c733691ecb#diff-2eeaed663bd0d25b7e608891384b7298R814
- - python: 3.5
- env: PANDAS_VERSION=1.*
- - python: 3.7
- env: PANDAS_VERSION=0.21.*
- - python: 3.7
- env: PANDAS_VERSION=0.22.*
- # >/tmp/pip-install-g4jx0np4/numpy/_configtest.c:6: undefined reference to `exp'
- # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704331#L437
- - python: 3.8
- env: PANDAS_VERSION=0.21.*
- # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704330#L437
- - python: 3.8
- env: PANDAS_VERSION=0.22.*
- - python: 3.8-dev
- env: PANDAS_VERSION=0.21.*
- - python: 3.8-dev
- env: PANDAS_VERSION=0.22.*
- # no python3.8 wheels for pandas v0.24.2 & v0.23.4 available
- # https://travis-ci.org/github/fphammerle/freesurfer-stats/builds/701952350
- # build takes longer than 10min
- # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/702077404#L199
- - python: 3.8
- env: PANDAS_VERSION=0.23.*
- - python: 3.8
- env: PANDAS_VERSION=0.24.*
- - python: 3.8-dev
- env: PANDAS_VERSION=0.23.*
- - python: 3.8-dev
- env: PANDAS_VERSION=0.24.*
- install:
- - pip install pipenv==2020.6.2
- - pipenv install --python "$TRAVIS_PYTHON_VERSION" --deploy --dev
- - if [ ! -z "$PANDAS_VERSION" ]; then
- pipenv install --selective-upgrade "pandas==$PANDAS_VERSION";
- fi
- - pipenv graph
- - cat "$(pipenv --venv)"/lib/python*/site-packages/freesurfer-volume-reader.egg-link
- script:
- - pipenv run pylint freesurfer_volume_reader tests/*
- - pipenv run pytest --cov=freesurfer_volume_reader --cov-report=term-missing --cov-fail-under=100
- after_success:
- - pip install coveralls
- - coveralls
|