[tox]
package=oki
skip_missing_interpreters=true
envlist=
  py27
  py33
  py34
  py35

[testenv]
deps=
  mock
  pytest
  pytest-cov
  coverage
passenv=
  CI
  TRAVIS
  TRAVIS_JOB_ID
  TRAVIS_BRANCH
commands=
  py.test \
    --cov {[tox]package} \
    --cov-config tox.ini \
    --cov-report term-missing \
    {posargs:tests}

[pytest]
# pytest configuration here

[report]
# coverage configuration here

[tox]
package=oki
skip_missing_interpreters=true
envlist=
  py27
  py33
  py34
  py35

[testenv]
deps=
  mock
  pytest
  pytest-cov
  coverage
passenv=
  CI
  TRAVIS
  TRAVIS_JOB_ID
  TRAVIS_BRANCH
commands=
  py.test tests \
    --cov {[tox]package} \
    --cov-config tox.ini \
    --cov-report term-missing \
    {posargs}

[report]
# coverage configuration here

Fix running tests with Tox
Fix running tests with Tox
