Robert Collins | fd2d4b7 | 2015-07-07 11:24:28 +1200 | [diff] [blame] | 1 | sudo: false |
Robert Collins | 001ec86 | 2015-07-07 10:47:27 +1200 | [diff] [blame] | 2 | language: python |
| 3 | python: |
Robert Collins | 001ec86 | 2015-07-07 10:47:27 +1200 | [diff] [blame] | 4 | - "2.7" |
Robert Collins | 001ec86 | 2015-07-07 10:47:27 +1200 | [diff] [blame] | 5 | - "3.3" |
| 6 | - "3.4" |
Hugo | b67fe8a | 2017-10-28 16:01:45 +0300 | [diff] [blame] | 7 | - "3.5" |
| 8 | - "3.6" |
Robert Collins | 42cd3e2 | 2015-07-07 12:17:54 +1200 | [diff] [blame] | 9 | - pypy |
| 10 | - pypy3 |
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 11 | matrix: |
| 12 | include: |
| 13 | # Travis nightly look to be 3.5.0a4, b3 is out and the syntax error we see |
| 14 | # doesn't happen in trunk. |
| 15 | - python: "nightly" |
| 16 | env: SKIP_DOCS=1 |
Robert Collins | 05a9247 | 2015-07-07 11:17:36 +1200 | [diff] [blame] | 17 | install: |
| 18 | - pip install -U pip |
| 19 | - pip install -U wheel setuptools |
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 20 | - pip install -U .[docs,test] |
Robert Collins | cfe4972 | 2015-07-10 14:34:17 +1200 | [diff] [blame] | 21 | - pip list |
| 22 | - python --version |
Robert Collins | 18c9bbd | 2015-07-10 14:00:11 +1200 | [diff] [blame] | 23 | script: |
| 24 | - unit2 |
| 25 | - if [ -z "$SKIP_DOCS" ]; then python setup.py build_sphinx; fi |
Robert Collins | 35c0dd8 | 2015-09-02 16:41:39 +1200 | [diff] [blame] | 26 | - rst2html.py --strict README.rst README.html |