2017-01-13 01:44:44 +03:00
|
|
|
[tox]
|
2017-08-30 00:47:20 +03:00
|
|
|
envlist = py27, py34, py35, py36
|
2017-01-13 01:44:44 +03:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = -rtest_requirements.txt
|
2017-10-13 19:51:04 +03:00
|
|
|
passenv = CI TRAVIS TRAVIS_*
|
2017-01-13 01:44:44 +03:00
|
|
|
commands =
|
2017-06-01 07:01:37 +03:00
|
|
|
flake8 {envsitepackagesdir}/blobxfer_cli/
|
|
|
|
flake8 {envsitepackagesdir}/blobxfer/
|
2017-01-13 01:44:44 +03:00
|
|
|
py.test \
|
|
|
|
-x -l -s \
|
|
|
|
--ignore venv/ \
|
|
|
|
--cov-config .coveragerc \
|
|
|
|
--cov-report term-missing \
|
|
|
|
--cov {envsitepackagesdir}/blobxfer
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 79
|
|
|
|
select = F,E,W
|