File tree 3 files changed +17
-1
lines changed
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change
1
+ [run]
2
+ branch = True
3
+ source = html5lib
4
+
5
+ [paths]
6
+ source =
7
+ html5lib
8
+ .tox/*/lib/python*/site-packages/html5lib
Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ install:
24
24
- bash requirements-install.sh
25
25
26
26
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
28
29
- bash flake8-run.sh
29
30
30
31
after_script :
31
32
- python debug-info.py
33
+
34
+ after_success :
35
+ - if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage combine && codecov; fi
Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ pip install -U -r requirements-test.txt
13
13
if [[ $USE_OPTIONAL == " true" ]]; then
14
14
pip install -U -r requirements-optional.txt
15
15
fi
16
+
17
+ if [[ $CI == " true" ]]; then
18
+ pip install -U codecov
19
+ fi
You can’t perform that action at this time.
0 commit comments