.travis.yml 677 B

12345678910111213141516171819202122232425
  1. language: python
  2. # python>=3.5 in .github/workflows/python.yml
  3. python:
  4. - 3.4
  5. - 3.5
  6. - 3.6
  7. # required for python >= 3.7
  8. dist: xenial
  9. install:
  10. # pipenv v2020.4.1a2 / v2020.5.28 removed support for python3.4 (in vendored pkg_resources)
  11. # https://github.com/pypa/pipenv/commit/3f9f359c0e563d30a60f0d1e4633eea9f964b610#diff-eec907d96e76285f711fb3cb5ab5469dR92
  12. - pip install --upgrade 'pipenv>=2018.10.9,<v2020.5.28'
  13. - pipenv sync --dev
  14. - if python3 -c 'import sys; sys.exit(sys.version_info < (3, 8))'; then
  15. pipenv install 'astroid>=2.3.0';
  16. fi
  17. - pipenv graph
  18. script:
  19. - pipenv run pylint free_disk
  20. - pipenv run pylint --disable=missing-requirement tests/*
  21. - pipenv run pytest