Skip to content

Commit acf68fd

Browse files
committed
Add codecov.
1 parent b7e9b01 commit acf68fd

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.coveragerc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[run]
2+
branch = True
3+
source = html5lib
4+
5+
[paths]
6+
source =
7+
html5lib
8+
.tox/*/lib/python*/site-packages/html5lib

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ install:
2626
- bash requirements-install.sh
2727

2828
script:
29-
- py.test
29+
- coverage run -m pytest
3030
- bash flake8-run.sh
3131

3232
after_script:
3333
- python debug-info.py
34+
35+
after_success:
36+
- coverage combine
37+
- codecov

requirements-install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ pip install -U -r requirements-test.txt
1313
if [[ $USE_OPTIONAL == "true" ]]; then
1414
pip install -U -r requirements-optional.txt
1515
fi
16+
17+
pip install -U codecov

0 commit comments

Comments
 (0)