Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #125 from rtfd/update-tox
Browse files Browse the repository at this point in the history
Run travis against multiple sphinx versions
  • Loading branch information
ericholscher committed Oct 12, 2018
2 parents a0afe7d + 7256390 commit fdeeda5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 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
18 changes: 10 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
[tox]
envlist =
py{27,34,35,36}
lint
docs
py{27,35,36}-sphinx{16,17,18},
# Workaround https://github.com/tox-dev/tox/issues/706
lint-sphinx18
docs-sphinx18

[tox:travis]
2.7 = py27, docs, #lint
3.4 = py34
3.5 = py35
3.6 = py36
2.7 = py27-sphinx{16,17,18}, docs-sphinx16, lint-sphinx16
3.5 = py35-sphinx{16,17,18}
3.6 = py36-sphinx{16,17,18}

[testenv]
setenv =
LANG=C
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 fdeeda5

Please sign in to comment.