[tox]
envlist = python{2.7,3.4,3.5,3.6,3.7}

[testenv]
deps =
    pytest
commands =
    python setup.py test --addopts "-v -m 'not xfail'"

[tox]
envlist = python{2.7,3.4,3.5,3.6,3.7},build

[testenv]
deps =
    pytest
commands =
    python setup.py test --addopts "-v -m 'not xfail'"

Add build env to envlist
Add build env to envlist
