Bernat Gabor | 04254e3 | 2017-12-06 23:50:52 +0000 | [diff] [blame] | 1 | sudo: false |
jarondl | 5e0711d | 2014-11-20 14:45:25 +0200 | [diff] [blame] | 2 | language: python |
Jon Dufresne | e8e7598 | 2017-04-17 08:14:34 -0700 | [diff] [blame] | 3 | cache: pip |
Yaron de Leeuw | d722aad | 2014-11-20 22:36:52 +0200 | [diff] [blame] | 4 | python: |
Yaron de Leeuw | d722aad | 2014-11-20 22:36:52 +0200 | [diff] [blame] | 5 | - "2.7" |
Yaron de Leeuw | d722aad | 2014-11-20 22:36:52 +0200 | [diff] [blame] | 6 | - "3.3" |
7 | - "3.4" | ||||
Alex Willmer | c30a6fa | 2015-09-02 09:29:38 +0100 | [diff] [blame] | 8 | - "3.5" |
Jon Dufresne | f225d01 | 2017-05-04 18:06:50 -0700 | [diff] [blame] | 9 | - "3.6" |
Paul Ganssle | 3da4069 | 2016-11-06 14:10:14 -0500 | [diff] [blame] | 10 | - "nightly" |
Jon Dufresne | e8e7598 | 2017-04-17 08:14:34 -0700 | [diff] [blame] | 11 | - "pypy-5.4" |
Yaron de Leeuw | d722aad | 2014-11-20 22:36:52 +0200 | [diff] [blame] | 12 | - "pypy3" |
Bernat Gabor | 04254e3 | 2017-12-06 23:50:52 +0000 | [diff] [blame] | 13 | env: |
14 | TOXENV=py | ||||
Paul Ganssle | 55dd3d2 | 2016-11-03 18:23:49 -0400 | [diff] [blame] | 15 | |
16 | matrix: | ||||
Bernat Gabor | 5199069 | 2017-12-06 15:06:48 +0000 | [diff] [blame] | 17 | fast_finish: true |
Bernat Gabor | 04254e3 | 2017-12-06 23:50:52 +0000 | [diff] [blame] | 18 | include: |
19 | - python: 3.6 | ||||
20 | env: TOXENV=docs | ||||
Paul Ganssle | f9addd1 | 2018-07-02 10:45:47 -0400 | [diff] [blame] | 21 | - python: 3.6 |
22 | env: TOXENV=tz | ||||
Paul Ganssle | 226ecb8 | 2018-07-02 08:34:37 -0400 | [diff] [blame] | 23 | - python: 3.7 |
24 | # This is required until Travis has a default image that | ||||
25 | # can run Python 3.7 | ||||
26 | dist: xenial | ||||
27 | sudo: required | ||||
Paul Ganssle | 55dd3d2 | 2016-11-03 18:23:49 -0400 | [diff] [blame] | 28 | allow_failures: |
Paul Ganssle | 3da4069 | 2016-11-06 14:10:14 -0500 | [diff] [blame] | 29 | - python: "nightly" |
Paul Ganssle | 55dd3d2 | 2016-11-03 18:23:49 -0400 | [diff] [blame] | 30 | |
jarondl | 5e0711d | 2014-11-20 14:45:25 +0200 | [diff] [blame] | 31 | install: |
Bernat Gabor | 5199069 | 2017-12-06 15:06:48 +0000 | [diff] [blame] | 32 | - pip install -U six && pip install -U tox |
Paul Ganssle | ca19f95 | 2018-05-20 20:49:28 -0400 | [diff] [blame] | 33 | - if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install 'virtualenv<16.0'; fi |
Paul Ganssle | 06340a4 | 2018-08-11 10:24:37 -0400 | [diff] [blame] | 34 | - if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install 'setuptools<40.0'; fi |
Paul Ganssle | f9addd1 | 2018-07-02 10:45:47 -0400 | [diff] [blame] | 35 | - if [[ $TOXENV == "py" ]]; then ./ci_tools/retry.sh python updatezinfo.py; fi |
Paul Ganssle | 55dd3d2 | 2016-11-03 18:23:49 -0400 | [diff] [blame] | 36 | |
jarondl | 5e0711d | 2014-11-20 14:45:25 +0200 | [diff] [blame] | 37 | script: |
Bernat Gabor | 04254e3 | 2017-12-06 23:50:52 +0000 | [diff] [blame] | 38 | - tox |
Paul Ganssle | 55dd3d2 | 2016-11-03 18:23:49 -0400 | [diff] [blame] | 39 | |
Paul Ganssle | f867953 | 2016-02-19 16:27:57 -0500 | [diff] [blame] | 40 | after_success: |
Bernat Gabor | 04254e3 | 2017-12-06 23:50:52 +0000 | [diff] [blame] | 41 | - if [[ $TOXENV == "py" ]]; then tox -e coverage,codecov; fi |
Paul Ganssle | f867953 | 2016-02-19 16:27:57 -0500 | [diff] [blame] | 42 |