Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfredo Sánchez Vega committed Dec 8, 2016
1 parent d63dda6 commit 299e5e8
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
[tox]

envlist =
pyflakes
trial-py{27,py,33,34,35,36}-tw{132,140,150,155,166,current,trunk}
docs, docs-linkcheck

skip_missing_interpreters = True


###########################
# Default testenv
###########################

[testenv]

basepython =
py27: python2.7
pypy: pypy
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6

deps =
coverage
mock

tw132: Twisted==13.2
tw140: Twisted==14.0.2
tw150: Twisted==15.0
Expand All @@ -29,20 +34,25 @@ deps =
tw166: Twisted==16.6
twcurrent: Twisted
twtrunk: https://github.com/twisted/twisted/archive/trunk.zip

commands =
{envpython} --version
"{envpython}" --version
trial --version
coverage run -p {envdir}/bin/trial {posargs:klein}
coverage run -p "{envdir}/bin/trial" {posargs:klein}


###########################
# Run pyflakes
###########################

[testenv:pyflakes]
skip_install=True

skip_install = True

deps = pyflakes

basepython = python2.7

commands = pyflakes src/klein


Expand All @@ -51,21 +61,27 @@ commands = pyflakes src/klein
###########################

[testenv:docs]

deps =
sphinx
sphinx_rtd_theme

basepython = python2.7

commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -b html -d "{envtmpdir}/doctrees" docs docs/_build/html


###########################
# Run docs linkcheck
###########################

[testenv:docs-linkcheck]

deps = {[testenv:docs]deps}

basepython = python2.7

commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -b html -d "{envtmpdir}/doctrees" docs docs/_build/html
sphinx-build -b linkcheck docs docs/_build/html

0 comments on commit 299e5e8

Please sign in to comment.