1
0

.travis.yml 622 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. install:
  28. - pip install tox
  29. script:
  30. - tox -e $TOX_ENV