1
0

.travis.yml 707 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. services:
  9. - postgresql
  10. matrix:
  11. fast_finish: true
  12. include:
  13. - python: 2.7
  14. env: TOX_ENV=packaging
  15. - python: 2.7
  16. env: TOX_ENV=pep8
  17. - python: 2.7
  18. env: TOX_ENV=py27
  19. - python: 2.7
  20. env: TOX_ENV=py27-postgres TRIAL_FLAGS="-j 4"
  21. - python: 3.6
  22. env: TOX_ENV=py36
  23. - python: 3.6
  24. env: TOX_ENV=check_isort
  25. - python: 3.6
  26. env: TOX_ENV=check-newsfragment
  27. allow_failures:
  28. - python: 2.7
  29. env: TOX_ENV=py27-postgres TRIAL_FLAGS="-j 4"
  30. install:
  31. - pip install tox
  32. script:
  33. - tox -e $TOX_ENV