Skip to content

Commit

Permalink
Support and test Sphinx 2 and Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok authored and stephenfin committed Mar 14, 2019
1 parent 3caea15 commit ec76d15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
language: python
sudo: false
dist: xenial
cache: pip
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- 3.7
install:
- pip install tox-travis
- pip install codecov
Expand All @@ -19,6 +19,9 @@ stages:
- deploy
jobs:
include:
- stage: test
python: pypy
dist: trusty
- stage: deploy
python: 3.6
install: skip # no tests, no depedencies needed
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pbr>=2.0
sphinx>=1.5,<2.0
sphinx>=1.5,<2.1
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = py{27,34,35,36,py}-click{6,7},style,docs
envlist = py{27,34,35,36,37,36-pre,37-pre,py}-click{6,7},style,docs

[testenv]
deps =
Expand All @@ -10,6 +10,8 @@ deps =
commands =
coverage run --source={toxinidir}/sphinx_click -m unittest discover -s tests/
coverage report
pip_pre =
pre: true

[testenv:coverage]
commands =
Expand Down

0 comments on commit ec76d15

Please sign in to comment.