.travis.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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=0.25.*
  15. - PANDAS_VERSION=0.24.*
  16. - PANDAS_VERSION=0.23.*
  17. - PANDAS_VERSION=0.22.*
  18. - PANDAS_VERSION=0.21.*
  19. # https://travis-ci.org/fphammerle/freesurfer-volume-reader/builds/525556257
  20. matrix:
  21. exclude:
  22. - python: 3.7
  23. env: PANDAS_VERSION=0.21.*
  24. - python: 3.7
  25. env: PANDAS_VERSION=0.22.*
  26. - python: 3.7-dev
  27. env: PANDAS_VERSION=0.21.*
  28. - python: 3.7-dev
  29. env: PANDAS_VERSION=0.22.*
  30. # >/tmp/pip-install-g4jx0np4/numpy/_configtest.c:6: undefined reference to `exp'
  31. # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704331#L437
  32. - python: 3.8
  33. env: PANDAS_VERSION=0.21.*
  34. # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704330#L437
  35. - python: 3.8
  36. env: PANDAS_VERSION=0.22.*
  37. - python: 3.8-dev
  38. env: PANDAS_VERSION=0.21.*
  39. - python: 3.8-dev
  40. env: PANDAS_VERSION=0.22.*
  41. install:
  42. - pip install pipenv
  43. - pipenv sync --dev
  44. - if [ ! -z "$PANDAS_VERSION" ]; then
  45. pipenv install --selective-upgrade "pandas==$PANDAS_VERSION";
  46. fi
  47. - pipenv graph
  48. script:
  49. - pipenv run pylint freesurfer_stats tests/*
  50. - pipenv run pytest --cov=freesurfer_stats --cov-report=term-missing --cov-fail-under=100
  51. after_success:
  52. - pip install coveralls
  53. - coveralls