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

[testenv]
install_command = pip install --no-deps {opts} {packages}
deps =
    -rrequirements.txt
changedir = {toxinidir}/tests
commands = py.test

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

[testenv:py36-codestyle]
changedir = {toxinidir}
commands = multilint

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

[testenv]
install_command = pip install --no-deps {opts} {packages}
deps =
    -rrequirements.txt
changedir = {toxinidir}/tests
commands = py.test

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

[testenv:py36-codestyle]
changedir = {toxinidir}
skip_install = true
commands = multilint

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