.travis.yml 1.4 KB

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