mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Add Codecov coverage metrics and badges
This commit is contained in:
parent
06e082c918
commit
222addf830
@ -1,3 +1,6 @@
|
||||
[](https://travis-ci.org/wting/autojump)
|
||||
[](https://codecov.io/github/wting/autojump)
|
||||
|
||||
NAME
|
||||
----
|
||||
|
||||
|
4
tox.ini
4
tox.ini
@ -9,6 +9,7 @@ envlist =
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_*
|
||||
setenv =
|
||||
PYTHONDONTWRITEBYTECODE = 1
|
||||
deps =
|
||||
@ -17,11 +18,12 @@ deps =
|
||||
ipdb
|
||||
ipython
|
||||
pytest >= 2.9
|
||||
codecov>=1.4.0
|
||||
commands =
|
||||
coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
|
||||
py.test -vv -rxs --tb native -s --strict {posargs:tests}
|
||||
coverage report -m
|
||||
|
||||
codecov -e TOXENV
|
||||
|
||||
[testenv:pre-commit]
|
||||
deps =
|
||||
|
Loading…
Reference in New Issue
Block a user