fuzeman/byte-apsw

View on GitHub
tox.ini

Summary

Maintainability
Test Coverage
[tox]
envlist = clean,py{26,27,33,34,35,36,py},stats,flake8
skipsdist = True

[testenv]
commands =
  python tox/install_dependencies.py
  python -c "import apsw; print('apsw:\n - package: %s\n - library: %s' % (apsw.apswversion(), apsw.sqlitelibversion()))"
  py.test --cov-config .coveragerc --cov-append --cov=byte
passenv =
  BYTE_ENVIRONMENT
  TRAVIS_BUILD_ID
  TRAVIS_BRANCH

[testenv:clean]
skip_install = true
deps =
  coverage
commands =
  coverage erase

[testenv:flake8]
basepython = python
skip_install = true
deps =
  flake8
  flake8-docstrings>=0.2.7
  flake8-future-import>=0.4.3
  flake8-import-order>=0.9
  flake8-import-order-fuzeman>=1.6.0
commands =
  flake8 byte --config=flake8.ini
  flake8 tests --config=flake8.tests.ini

[testenv:stats]
skip_install = true
deps =
  coverage
commands =
  coverage report -m
  coverage html