blob: ebcb0dbbe373a548599f88c0c0ada40baab097f7 [file] [log] [blame]
Robert Collins001ec862015-07-07 10:47:27 +12001language: python
2python:
Robert Collins001ec862015-07-07 10:47:27 +12003 - "2.7"
Robert Collins001ec862015-07-07 10:47:27 +12004 - "3.4"
Hugob67fe8a2017-10-28 16:01:45 +03005 - "3.5"
6 - "3.6"
Robert Collins42cd3e22015-07-07 12:17:54 +12007 - pypy
8 - pypy3
Robert Collins18c9bbd2015-07-10 14:00:11 +12009matrix:
10 include:
Chris Withersafb35822018-11-29 08:52:00 +000011 - python: "3.7"
12 dist: xenial
Robert Collins18c9bbd2015-07-10 14:00:11 +120013 - python: "nightly"
Chris Withersafb35822018-11-29 08:52:00 +000014 dist: xenial
Robert Collins05a92472015-07-07 11:17:36 +120015install:
16 - pip install -U pip
17 - pip install -U wheel setuptools
Robert Collins18c9bbd2015-07-10 14:00:11 +120018 - pip install -U .[docs,test]
Robert Collinscfe49722015-07-10 14:34:17 +120019 - pip list
20 - python --version
Robert Collins18c9bbd2015-07-10 14:00:11 +120021script:
Jon Dufresne89123d52018-09-16 17:20:15 -070022 - python -m unittest discover
Robert Collins18c9bbd2015-07-10 14:00:11 +120023 - if [ -z "$SKIP_DOCS" ]; then python setup.py build_sphinx; fi
Robert Collins35c0dd82015-09-02 16:41:39 +120024 - rst2html.py --strict README.rst README.html