.travis.yml 431 B

123456789101112131415161718192021
  1. language: python
  2. sudo: false
  3. matrix:
  4. include:
  5. - python: 3.6
  6. env: NOX_SESSION=lint
  7. - python: 2.7
  8. env: NOX_SESSION="tests(py='2.7')"
  9. - python: 3.4
  10. env: NOX_SESSION="tests(py='3.4')"
  11. - python: 3.5
  12. env: NOX_SESSION="tests(py='3.5')"
  13. - python: 3.6
  14. env: NOX_SESSION="tests(py='3.6')"
  15. cache:
  16. directories:
  17. - ${HOME}/.cache
  18. install:
  19. - pip install --upgrade nox-automation
  20. script:
  21. - nox -s "$NOX_SESSION"