[tox]
envlist =
    py{27,36}-{unit,fuzz},
    py{27,36}-codestyle

[testenv]
setenv =
    PYTHONDONTWRITEBYTECODE=1
passenv = HYPOTHESIS_MAX_EXAMPLES
install_command = pip install --no-deps {opts} {packages}
deps = -rrequirements.txt
commands = pytest {posargs}

[testenv:py27-fuzz]
commands = pytest {posargs} tests/fuzztests.py

[testenv:py34-fuzz]
commands = pytest {posargs} tests/fuzztests.py

[testenv:py27-codestyle]
# setup.py check broken on travis python 2.7
commands = multilint --skip setup.py

[testenv:py36-codestyle]
commands = multilint

[tox]
envlist =
    py{27,36}-{unit,fuzz},
    py{27,36}-codestyle

[testenv]
setenv =
    PYTHONDONTWRITEBYTECODE=1
passenv = HYPOTHESIS_MAX_EXAMPLES
install_command = pip install --no-deps {opts} {packages}
deps = -rrequirements.txt
commands = pytest {posargs}

[testenv:py27-fuzz]
commands = pytest {posargs} tests/fuzztests.py

[testenv:py34-fuzz]
commands = pytest {posargs} tests/fuzztests.py

[testenv:py27-codestyle]
# setup.py check broken on travis python 2.7
skip_install = true
commands = multilint --skip setup.py

[testenv:py36-codestyle]
skip_install = true
commands = multilint

Speed up linting by skipping install
Speed up linting by skipping install
