Skip to content

Commit 365ae10

Browse files
committed
report coverage after each tox task
1 parent 48cc7b4 commit 365ae10

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test_script:
3131
- python setup.py test
3232

3333
after_test:
34-
- pip install codecov
34+
- pip install codecov wheel
3535
- codecov
3636
- del bencoder.c
3737
- pip wheel . -w wheelhouse/

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
envlist = py26, py27, py33, py34, py35, pypy
33

44
[testenv]
5-
commands = python setup.py test
5+
commands =
6+
python setup.py test
7+
codecov
68
skip_install = True
9+
passenv = CI SEMAPHORE BRANCH_NAME SEMAPHORE_BUILD_NUMBER SEMAPHORE_CURRENT_THREAD SEMAPHORE_REPO_SLUG REVISION TOXENV
710
deps =
811
cython
912
pytest
1013
coverage
14+
codecov
1115

1216
[testenv:pypy]
1317
skip_install = False

0 commit comments

Comments
 (0)