Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit66a3f42

Browse files
committed
Add codecov.
1 parent77c63f9 commit66a3f42

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-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
@@ -24,8 +24,12 @@ install:
2424
-bash requirements-install.sh
2525

2626
script:
27-
-py.test
27+
-if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then py.test; fi
28+
-if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run -m pytest; fi
2829
-bash flake8-run.sh
2930

3031
after_script:
3132
-python debug-info.py
33+
34+
after_success:
35+
-if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage combine && codecov; fi

‎requirements-install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ 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+
if [[$CI=="true" ]];then
18+
pip install -U codecov
19+
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp