Robert Collins | 001ec86 | 2015-07-07 10:47:27 +1200 | [diff] [blame] | 1 | language: python |
2 | python: | ||||
Robert Collins | 001ec86 | 2015-07-07 10:47:27 +1200 | [diff] [blame] | 3 | - "2.7" |
Robert Collins | 001ec86 | 2015-07-07 10:47:27 +1200 | [diff] [blame] | 4 | - "3.4" |
Hugo | b67fe8a | 2017-10-28 16:01:45 +0300 | [diff] [blame] | 5 | - "3.5" |
6 | - "3.6" | ||||
Robert Collins | 42cd3e2 | 2015-07-07 12:17:54 +1200 | [diff] [blame] | 7 | - pypy |
8 | - pypy3 | ||||
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 9 | matrix: |
10 | include: | ||||
Chris Withers | afb3582 | 2018-11-29 08:52:00 +0000 | [diff] [blame] | 11 | - python: "3.7" |
12 | dist: xenial | ||||
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 13 | - python: "nightly" |
Chris Withers | afb3582 | 2018-11-29 08:52:00 +0000 | [diff] [blame] | 14 | dist: xenial |
Robert Collins | 05a9247 | 2015-07-07 11:17:36 +1200 | [diff] [blame] | 15 | install: |
16 | - pip install -U pip | ||||
17 | - pip install -U wheel setuptools | ||||
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 18 | - pip install -U .[docs,test] |
Robert Collins | cfe4972 | 2015-07-10 14:34:17 +1200 | [diff] [blame] | 19 | - pip list |
20 | - python --version | ||||
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 21 | script: |
Jon Dufresne | 89123d5 | 2018-09-16 17:20:15 -0700 | [diff] [blame] | 22 | - python -m unittest discover |
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 23 | - if [ -z "$SKIP_DOCS" ]; then python setup.py build_sphinx; fi |
Robert Collins | 35c0dd8 | 2015-09-02 16:41:39 +1200 | [diff] [blame] | 24 | - rst2html.py --strict README.rst README.html |