Run travis against multiple sphinx versions

This commit is contained in:
Eric Holscher 2018-10-12 10:54:50 +02:00
parent a0afe7d383
commit 0440308592
2 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,6 @@
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
sudo: false
@ -15,3 +14,6 @@ notifications:
- readthedocs:y3hjODOi7EIz1JAbD1Zb41sz#random
on_success: change
on_failure: always
branches:
only:
- master

View file

@ -1,12 +1,11 @@
[tox]
envlist =
py{27,34,35,36}
py{27,35,36}-sphinx{16,17,18},
lint
docs
[tox:travis]
2.7 = py27, docs, #lint
3.4 = py34
2.7 = py27, docs, lint
3.5 = py35
3.6 = py36
@ -16,7 +15,9 @@ setenv =
deps =
.
pytest
sphinx<1.7
sphinx16: Sphinx < 1.7
sphinx17: Sphinx < 1.8
sphinx18: Sphinx < 1.9
commands =
py.test {posargs}