Skip to content

Commit

Permalink
Merge pull request #1012 from readthedocs/test-more
Browse files Browse the repository at this point in the history
Test with more versions of sphinx/python
  • Loading branch information
stsewd committed Oct 8, 2020
2 parents f8ce9db + 33a9df7 commit 4366e9e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yml
@@ -1,5 +1,9 @@
version: 2

python:
version: 3
install:
- requirements: docs/requirements.txt

sphinx:
configuration: docs/conf.py
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,7 @@ python:
- 2.7
- 3.6
- 3.7
- 3.8
install:
- pip install tox-travis
- pip install sphinx
Expand Down
13 changes: 8 additions & 5 deletions 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 =
Expand All @@ -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

0 comments on commit 4366e9e

Please sign in to comment.