.travis.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. language: python
  2. sudo: false
  3. cache: pip
  4. dist: trusty
  5. stages:
  6. - primary
  7. - secondary
  8. jobs:
  9. include:
  10. # Basic Checks
  11. - stage: primary
  12. env: TOXENV=docs
  13. - env: TOXENV=lint-py2
  14. - env: TOXENV=lint-py3
  15. python: 3.6
  16. - env: TOXENV=mypy
  17. - env: TOXENV=packaging
  18. # Latest CPython
  19. - env: GROUP=1
  20. python: 2.7
  21. - env: GROUP=2
  22. python: 2.7
  23. - env: GROUP=1
  24. python: 3.6
  25. - env: GROUP=2
  26. python: 3.6
  27. # Complete checking for ensuring compatibility
  28. # PyPy
  29. - stage: secondary
  30. env: GROUP=1
  31. python: pypy3
  32. - env: GROUP=2
  33. python: pypy3
  34. - env: GROUP=1
  35. python: pypy
  36. - env: GROUP=2
  37. python: pypy
  38. # Other Supported CPython
  39. - env: GROUP=1
  40. python: 3.7
  41. dist: xenial
  42. sudo: required
  43. - env: GROUP=2
  44. python: 3.7
  45. dist: xenial
  46. sudo: required
  47. - env: GROUP=1
  48. python: 3.5
  49. - env: GROUP=2
  50. python: 3.5
  51. - env: GROUP=1
  52. python: 3.4
  53. - env: GROUP=2
  54. python: 3.4
  55. - env: GROUP=1
  56. python: 3.8-dev
  57. - env: GROUP=2
  58. python: 3.8-dev
  59. # It's okay to fail on the in-development CPython version.
  60. fast_finish: true
  61. allow_failures:
  62. - python: 3.8-dev
  63. before_install: tools/travis/setup.sh
  64. install: travis_retry tools/travis/install.sh
  65. script: tools/travis/run.sh
  66. notifications:
  67. irc:
  68. channels:
  69. # This is set to a secure variable to prevent forks from notifying the
  70. # IRC channel whenever they fail a build. This can be removed when travis
  71. # implements https://github.com/travis-ci/travis-ci/issues/1094.
  72. # The actual value here is: irc.freenode.org#pypa-dev
  73. - secure: zAlwcmrDThlRsZz7CPDGpj4ABTzf7bc/zQXYtvIuqmSj0yJMAwsO5Vx/+qdTGYBvmW/oHw2s/uUgtkZzntSQiVQToKMag2fs0d3wV5bLJQUE2Si2jnH2JOQo3JZWSo9HOqL6WYmlKGI8lH9FVTdVLgpeJmIpLy1bN4zx4/TiJjc=
  74. skip_join: true
  75. use_notice: true