Skip to content

Commit

Permalink
run docs only against python3
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Nov 26, 2015
1 parent aa6956c commit f188c5b
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions tox.ini
Expand Up @@ -2,7 +2,7 @@
envlist =
py26,py27,py32,py33,py34,pypy,pypy3,
py27-pyramid{12,13,14,15},
{py2,py3}-docs,
docs,
{py2,py3}-cover,coverage

[testenv]
Expand All @@ -29,6 +29,13 @@ commands =
pip install pyramid_tm[testing]
nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:}

[testenv:docs]
basepython = python3.4
whitelist_externals = make
commands =
pip install pyramid_tm[docs]
make -C docs html epub BUILDDIR={envdir}

[testenv:py2-cover]
commands =
pip install pyramid_tm[testing]
Expand Down Expand Up @@ -56,15 +63,3 @@ deps =
coverage
setenv =
COVERAGE_FILE=.coverage

[testenv:py2-docs]
whitelist_externals = make
commands =
pip install pyramid_tm[docs]
make -C docs html epub BUILDDIR={envdir}

[testenv:py3-docs]
whitelist_externals = make
commands =
pip install pyramid_tm[docs]
make -C docs html epub BUILDDIR={envdir}

0 comments on commit f188c5b

Please sign in to comment.