.travis.yml 893 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. language: python
  2. cache: pip
  3. matrix:
  4. include:
  5. - os: linux
  6. dist: trusty
  7. python: '2.6'
  8. - os: linux
  9. dist: trusty
  10. python: '2.7'
  11. # unit test runner fails on tests import
  12. # - os: linux
  13. # dist: trusty
  14. # python: '3.2'
  15. # - os: linux
  16. # dist: trusty
  17. # python: '3.3'
  18. - os: linux
  19. dist: trusty
  20. python: '3.4'
  21. - os: linux
  22. dist: trusty
  23. python: '3.5'
  24. - os: linux
  25. dist: trusty
  26. python: '3.6'
  27. - os: linux
  28. dist: xenial
  29. python: '3.7'
  30. - os: linux
  31. dist: trusty
  32. python: 'nightly'
  33. - os: linux
  34. dist: trusty
  35. python: 'pypy'
  36. - os: linux
  37. dist: trusty
  38. python: 'pypy3'
  39. install:
  40. - pip install codecov
  41. - pip install -r requirements.txt
  42. - pip install -e .
  43. script:
  44. - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
  45. after_success:
  46. - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
  47. - codecov