[tox]
envlist = py27,py34,py35,py36,py37

[testenv]
deps = -rrequirements_dev.txt
commands =
    py.test {posargs} --cov-report=xml --cov
    flake8
passenv =
  CI
  TRAVIS
  TRAVIS_*

[tox]
envlist = py27,py34,py35,py36,py37

[testenv]
deps = -rrequirements_dev.txt
commands =
    flake8
    py.test {posargs} --cov-report=xml --cov
passenv =
  CI
  TRAVIS
  TRAVIS_*

Change order of commands to run flake8 first
Change order of commands to run flake8 first
