mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
63db4cb9ba
This patch uses a cache dir at ~/.condprof-cache so we avoid re-downloading the same file several times. Differential Revision: https://phabricator.services.mozilla.com/D52180 --HG-- extra : moz-landing-system : lando
18 lines
419 B
INI
18 lines
419 B
INI
[tox]
|
|
downloadcache = {toxworkdir}/cache/
|
|
envlist = py36,flake8
|
|
|
|
[testenv]
|
|
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
|
deps = -rtox-requirements.txt
|
|
-rlocal-requirements.txt
|
|
commands =
|
|
pytest --random-order-bucket=global -sv --cov-report= --cov-config .coveragerc --cov condprof condprof/tests
|
|
- coverage report -m
|
|
- coveralls
|
|
|
|
[testenv:flake8]
|
|
commands = flake8 condprof
|
|
deps =
|
|
flake8
|