[tox]
envlist = py26, py27, py32, py33, py34, rhel6

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

# Don't try building documentation on Python 3.2, due to conflicts with Pygments.
[testenv:py32]
commands =
    nosetests cybox
deps = -rrequirements.txt

#NOTE: RHEL 6 bundles six==1.7.3, but we need 1.9.0
[testenv:rhel6]
basepython=python2.6
commands =
    nosetests cybox
deps =
    lxml==2.2.3
    python-dateutil==1.4.1
    six>=1.9.0
    nose

[tox]
envlist = py26, py27, py32, py33, py34, rhel6

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

# Don't try building documentation on Python 3.2, due to conflicts with Pygments.
[testenv:py32]
commands =
    nosetests cybox
deps = -rrequirements.txt

[testenv:rhel6]
basepython=python2.6
commands =
    nosetests cybox
deps =
    lxml==2.2.3
    mixbox
    python-dateutil==1.4.1
    nose

Use mixbox on RHEL Tox tests.
Use mixbox on RHEL Tox tests.
