.travis.yml 483 B

123456789101112131415161718192021222324252627282930313233
  1. sudo: false
  2. language: python
  3. # tell travis to cache ~/.cache/pip
  4. cache: pip
  5. before_script:
  6. - git remote set-branches --add origin develop
  7. - git fetch origin develop
  8. matrix:
  9. fast_finish: true
  10. include:
  11. - python: 2.7
  12. env: TOX_ENV=packaging
  13. - python: 2.7
  14. env: TOX_ENV=pep8
  15. - python: 2.7
  16. env: TOX_ENV=py27
  17. - python: 3.6
  18. env: TOX_ENV=py36
  19. - python: 3.6
  20. env: TOX_ENV=check-newsfragment
  21. install:
  22. - pip install tox
  23. script:
  24. - tox -e $TOX_ENV