[tox]
envlist = py27,py35


[base]
deps =
    coverage
    nose
    rednose
commands =
    coverage run --source slugid --branch {envbindir}/nosetests -v --with-xunit --rednose --force-color


[testenv:py27]
deps=
    {[base]deps}
basepython = python2.7
commands =
    {[base]commands}


[testenv:py35]
deps=
    {[base]deps}
basepython = python3.5
commands =
    {[base]commands}


[testenv:coveralls]
; as per https://github.com/coagulant/coveralls-python#usage-tox--v20
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps=
    python-coveralls
commands=
    coveralls

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


[base]
deps =
    coverage
    nose
    rednose
commands =
    coverage run --source slugid --branch {envbindir}/nosetests -v --with-xunit --rednose --force-color


[testenv:py27]
deps=
    {[base]deps}
basepython = python2.7
commands =
    {[base]commands}


[testenv:py35]
deps=
    {[base]deps}
basepython = python3.5
commands =
    {[base]commands}


[testenv:coveralls]
; as per https://github.com/coagulant/coveralls-python#usage-tox--v20
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps=
    python-coveralls
commands=
    coveralls

Test python 3.6 and 3.7
Test python 3.6 and 3.7
