.travis.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. language: python
  2. python:
  3. - 3.5
  4. - 3.6
  5. - 3.7
  6. - 3.7-dev
  7. - 3.8
  8. - 3.8-dev
  9. # required for python >= 3.7
  10. dist: xenial
  11. env:
  12. # https://pypi.org/project/pandas/#history
  13. - PANDAS_VERSION=
  14. - PANDAS_VERSION=1.*
  15. - PANDAS_VERSION=0.25.*
  16. - PANDAS_VERSION=0.24.*
  17. - PANDAS_VERSION=0.23.*
  18. - PANDAS_VERSION=0.22.*
  19. - PANDAS_VERSION=0.21.*
  20. # https://travis-ci.org/fphammerle/freesurfer-volume-reader/builds/525556257
  21. matrix:
  22. exclude:
  23. # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683777317#L208
  24. # https://github.com/pandas-dev/pandas/commit/18efcb27361478daa3118079ecb166c733691ecb#diff-2eeaed663bd0d25b7e608891384b7298R814
  25. - python: 3.5
  26. env: PANDAS_VERSION=1.*
  27. - python: 3.7
  28. env: PANDAS_VERSION=0.21.*
  29. - python: 3.7
  30. env: PANDAS_VERSION=0.22.*
  31. - python: 3.7-dev
  32. env: PANDAS_VERSION=0.21.*
  33. - python: 3.7-dev
  34. env: PANDAS_VERSION=0.22.*
  35. # >/tmp/pip-install-g4jx0np4/numpy/_configtest.c:6: undefined reference to `exp'
  36. # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704331#L437
  37. - python: 3.8
  38. env: PANDAS_VERSION=0.21.*
  39. # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704330#L437
  40. - python: 3.8
  41. env: PANDAS_VERSION=0.22.*
  42. - python: 3.8-dev
  43. env: PANDAS_VERSION=0.21.*
  44. - python: 3.8-dev
  45. env: PANDAS_VERSION=0.22.*
  46. install:
  47. - pip install pipenv
  48. - pipenv sync --dev
  49. - if [ ! -z "$PANDAS_VERSION" ]; then
  50. pipenv install --selective-upgrade "pandas==$PANDAS_VERSION";
  51. fi
  52. - pipenv graph
  53. script:
  54. - pipenv run pylint freesurfer_stats tests/*
  55. - pipenv run pytest --cov=freesurfer_stats --cov-report=term-missing --cov-fail-under=100
  56. after_success:
  57. - pip install coveralls
  58. - coveralls