From 33a9df718523b8fc76880aa79715f1c2723c07df Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Thu, 8 Oct 2020 17:31:26 -0500 Subject: [PATCH] Tests with more versions of sphinx/python --- .readthedocs.yml | 4 ++++ .travis.yml | 1 + tox.ini | 13 ++++++++----- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index c10f06e68..f361a43c0 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,5 +1,9 @@ version: 2 + python: version: 3 install: - requirements: docs/requirements.txt + +sphinx: + configuration: docs/conf.py diff --git a/.travis.yml b/.travis.yml index 34de86c02..3c2fc65e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ python: - 2.7 - 3.6 - 3.7 + - 3.8 install: - pip install tox-travis - pip install sphinx diff --git a/tox.ini b/tox.ini index 1e44ebf44..dafec6eff 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,11 @@ [tox] -envlist = py{27,36,37}-sphinx{16,17,18,20,21,22,23,24,30} +envlist = py{27,36,37,38}-sphinx{16,17,18,20,21,22,23,24,30,31,32} [tox:travis] -2.7 = py27-sphinx{16,17,18,20,21,22,23,24,30} -3.6 = py36-sphinx{16,17,18,20,21,22,23,24,30} -3.7 = py37-sphinx{16,17,18,20,21,22,23,24,30} +2.7 = py27-sphinx{16,17,18,20,21,22,23,24,30,31,32} +3.6 = py36-sphinx{16,17,18,20,21,22,23,24,30,31,32} +3.7 = py37-sphinx{16,17,18,20,21,22,23,24,30,31,32} +3.8 = py38-sphinx{16,17,18,20,21,22,23,24,30,31,32} [testenv] setev = @@ -23,6 +24,8 @@ deps = sphinx23: Sphinx < 2.4 sphinx24: Sphinx < 2.5 sphinx30: Sphinx < 3.1 + sphinx31: Sphinx < 3.2 + sphinx32: Sphinx < 3.3 commands = - py.test {posargs} tests/ + pytest {posargs} tests/ sphinx-build -b html -d {envtmpdir}/doctrees docs/ {envtmpdir}/html