.travis.yml 811 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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: 2.7
  18. env: TOX_ENV=py27-old
  19. - python: 2.7
  20. env: TOX_ENV=py27-postgres TRIAL_FLAGS="-j 4"
  21. services:
  22. - postgresql
  23. - python: 3.5
  24. env: TOX_ENV=py35
  25. - python: 3.6
  26. env: TOX_ENV=py36
  27. - python: 3.6
  28. env: TOX_ENV=py36-postgres TRIAL_FLAGS="-j 4"
  29. services:
  30. - postgresql
  31. - python: 3.6
  32. env: TOX_ENV=check_isort
  33. - python: 3.6
  34. env: TOX_ENV=check-newsfragment
  35. install:
  36. - pip install tox
  37. script:
  38. - tox -e $TOX_ENV