Upgrade testing

Conflicts:
	tox.ini
pull/113/head
Anthony Johnson 7 years ago
parent fc6d7425e8
commit 2a79eb0dd4
No known key found for this signature in database
GPG Key ID: C5C79D82F922D604

@ -6,10 +6,10 @@ python:
sudo: false sudo: false
matrix: matrix:
include: include:
- python: 2.7 - python: 3.6
script: tox -e docs env: TOXENV=docs
- python: 2.7 - python: 3.6
script: tox -e lint env: TOXENV=lint
install: install:
- pip install tox-travis - pip install tox-travis
script: script:

@ -1,9 +1,16 @@
[tox] [tox]
envlist = envlist =
py{27,34,35}-sphinx{14,15} py{27,34,35,36}-sphinx{13,14,15}
lint lint
docs docs
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36
[testenv] [testenv]
setenv = setenv =
LANG=C LANG=C
@ -12,12 +19,13 @@ deps = -r{toxinidir}/requirements.txt
mock mock
sphinx14: Sphinx<1.5 sphinx14: Sphinx<1.5
sphinx15: Sphinx<1.6 sphinx15: Sphinx<1.6
sphinx16: Sphinx<1.7
commands = commands =
py.test {posargs} py.test {posargs}
[testenv:docs] [testenv:docs]
deps = deps =
Sphinx==1.5 Sphinx==1.6
sphinx_rtd_theme sphinx_rtd_theme
changedir = {toxinidir}/docs changedir = {toxinidir}/docs
commands = commands =
@ -30,4 +38,4 @@ commands =
prospector \ prospector \
--profile-path={toxinidir} \ --profile-path={toxinidir} \
--profile=prospector \ --profile=prospector \
--die-on-tool-error --die-on-tool-error {posargs}

Loading…
Cancel
Save