Skip to content

Commit

Permalink
We don't need to build the docs for every version, just run the docte…
Browse files Browse the repository at this point in the history
…sts.
  • Loading branch information
gtback committed Jun 24, 2015
1 parent 4556f18 commit f07ff14
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[tox]
envlist = py26, py27, py32, py33, py34, rhel6
envlist = py26, py27, py32, py33, py34, rhel6, docs

[testenv]
commands =
nosetests cybox
sphinx-build -b doctest docs docs/_build/doctest
sphinx-build -b html docs docs/_build/html
sphinx-build -W -b doctest docs docs/_build/doctest
deps = -rrequirements.txt

# Don't try building documentation on Python 3.2, due to conflicts with Pygments.
# Sphinx requires at least Python 2.6 or 3.3
[testenv:py32]
commands =
nosetests cybox
Expand All @@ -23,3 +22,9 @@ deps =
mixbox
python-dateutil==1.4.1
nose

[testenv:docs]
basepython=python2.7
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html

0 comments on commit f07ff14

Please sign in to comment.