12345678910111213141516171819202122232425262728293031323334353637383940 |
- [tox]
- envlist =
- flake8,
- py27,
- py34,
- py35,
- py36,
- py37,
- pypy,
- pypy3,
- coverage-report,
- skip_missing_interpreters = False
- [testenv]
- usedevelop = True
- commands =
- coverage run ./setup.py test {posargs}
- setenv =
- COVERAGE_FILE=.coverage.{envname}
- deps =
- pytest
- pytest-cov
- pytest-remove-stale-bytecode
- [testenv:coverage-report]
- basepython = python2.7
- deps = coverage
- setenv =
- COVERAGE_FILE=.coverage
- skip_install = true
- commands =
- coverage erase
- coverage combine
- coverage html
- coverage report --fail-under=100 --show-missing --skip-covered
- [testenv:flake8]
- basepython = python2.7
- deps = flake8
- commands = flake8 --doctests icemac setup.py
|