mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge pull request #1012 from readthedocs/test-more
Test with more versions of sphinx/python
This commit is contained in:
commit
4366e9e3f8
@ -1,5 +1,9 @@
|
||||
version: 2
|
||||
|
||||
python:
|
||||
version: 3
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
|
@ -3,6 +3,7 @@ python:
|
||||
- 2.7
|
||||
- 3.6
|
||||
- 3.7
|
||||
- 3.8
|
||||
install:
|
||||
- pip install tox-travis
|
||||
- pip install sphinx
|
||||
|
13
tox.ini
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user