.travis.yml 820 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. language: python
  2. python:
  3. - 3.5
  4. - 3.6
  5. - 3.6-dev
  6. - 3.7
  7. - 3.7-dev
  8. # required for python >= 3.7
  9. dist: xenial
  10. env:
  11. # https://pypi.org/project/pandas/#history
  12. - PANDAS_VERSION=
  13. - PANDAS_VERSION=0.24.*
  14. - PANDAS_VERSION=0.23.*
  15. - PANDAS_VERSION=0.22.*
  16. - PANDAS_VERSION=0.21.*
  17. # https://travis-ci.org/fphammerle/freesurfer-volume-reader/builds/525556257
  18. matrix:
  19. exclude:
  20. - python: 3.7
  21. env: PANDAS_VERSION=0.21.*
  22. - python: 3.7
  23. env: PANDAS_VERSION=0.22.*
  24. - python: 3.7-dev
  25. env: PANDAS_VERSION=0.21.*
  26. - python: 3.7-dev
  27. env: PANDAS_VERSION=0.22.*
  28. install:
  29. - pip install pipenv
  30. - pipenv sync --dev
  31. - if [ ! -z "$PANDAS_VERSION" ]; then
  32. pipenv install --selective-upgrade "pandas==$PANDAS_VERSION";
  33. fi
  34. - pipenv graph
  35. script:
  36. - pipenv run pylint freesurfer_volume_reader tests/*
  37. - pipenv run pytest