Skip to content

Commit

Permalink
Run travis against multiple sphinx versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Oct 12, 2018
1 parent a0afe7d commit 0440308
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
sudo: false
Expand All @@ -15,3 +14,6 @@ notifications:
- readthedocs:y3hjODOi7EIz1JAbD1Zb41sz#random
on_success: change
on_failure: always
branches:
only:
- master
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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}

Expand Down

0 comments on commit 0440308

Please sign in to comment.