1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
[tox]
envlist=py27-pyflakes, py27-pep8, py27-coverage, py27, py34, py34-syntax, py37, py37-syntax
[testenv]
commands=python setup.py test []
deps=nose
[testenv:py27-pep8]
commands=pep8 ripe --max-line-length=100
basepython=python2.7
deps=pep8
[testenv:py27-pyflakes]
commands=pyflakes ripe
basepython=python2.7
deps=pyflakes
[testenv:py27-coverage]
basepython=python2.7
commands=
coverage run --source=ripe setup.py test
coverage report -m
deps=coverage
[testenv:py34-syntax]
whitelist_externals=bash
commands=bash -c "find ripe/ tests/ -name '*.py' | xargs python -m py_compile"
basepython=python3.4
deps=
[testenv:py37-syntax]
whitelist_externals=bash
commands=bash -c "find ripe/ tests/ -name '*.py' | xargs python -m py_compile"
basepython=python3.7
deps=
|