[tox]
envlist = py26, py27, py33, py34, pypy, flake8, verbose, manifest, docs

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    pytest-cov
    py26: argparse
commands =
    python setup.py test

[testenv:flake8]
basepython = python2.7
deps =
    flake8
commands = flake8 ramlfications tests --exclude=docs/ --ignore=E221

[testenv:verbose]
basepython = python2.7
setenv =
    PYTHONHASHSEED = 0
deps =
    pytest-cov
commands =
    python setup.py test -a "-v --cov ramlfications --cov-report term-missing"

[testenv:manifest]
basepython = python2.7
deps =
    check-manifest
commands =
    check-manifest

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

[tox]
envlist = py26, py27, py33, py34, pypy, flake8, verbose, manifest, docs

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    setuptools>=7.0  # to avoid .egg directories
    pytest-cov
    py26: argparse
commands =
    python setup.py test

[testenv:flake8]
basepython = python2.7
deps =
    flake8
commands = flake8 ramlfications tests --exclude=docs/ --ignore=E221

[testenv:verbose]
basepython = python2.7
setenv =
    PYTHONHASHSEED = 0
deps =
    pytest-cov
commands =
    python setup.py test -a "-v --cov ramlfications --cov-report term-missing"

[testenv:manifest]
basepython = python2.7
deps =
    check-manifest
commands =
    check-manifest

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

Add setuptools min version to avoid egg files
Add setuptools min version to avoid egg files
