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
|
NAME
|
||||||
----
|
----
|
||||||
|
|
||||||
|
4
tox.ini
4
tox.ini
@ -9,6 +9,7 @@ envlist =
|
|||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_*
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONDONTWRITEBYTECODE = 1
|
PYTHONDONTWRITEBYTECODE = 1
|
||||||
deps =
|
deps =
|
||||||
@ -17,11 +18,12 @@ deps =
|
|||||||
ipdb
|
ipdb
|
||||||
ipython
|
ipython
|
||||||
pytest >= 2.9
|
pytest >= 2.9
|
||||||
|
codecov>=1.4.0
|
||||||
commands =
|
commands =
|
||||||
coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
|
coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
|
||||||
py.test -vv -rxs --tb native -s --strict {posargs:tests}
|
py.test -vv -rxs --tb native -s --strict {posargs:tests}
|
||||||
coverage report -m
|
coverage report -m
|
||||||
|
codecov -e TOXENV
|
||||||
|
|
||||||
[testenv:pre-commit]
|
[testenv:pre-commit]
|
||||||
deps =
|
deps =
|
||||||
|
Loading…
Reference in New Issue
Block a user