Skip to content

Commit 5b1367c

Browse files
committed
tweak coverage
Signed-off-by: Chris Snow <[email protected]>
1 parent 37905c1 commit 5b1367c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install:
1313

1414
script:
1515
- tox
16-
- coverage run --source hpecp setup.py test
16+
- coverage run --source hpecp,bin setup.py test
1717
- coverage report -m
1818
- python --version 2>&1 | grep '2.7' || python setup.py install # (don't run on 2.7)
1919
- python --version 2>&1 | grep '2.7' || echo q | ./bin/hpecp --help # check cli outputs help and doesn't return an error (don't run on 2.7)
@@ -30,17 +30,17 @@ jobs:
3030
- pip3 install coverage
3131
script:
3232
- coverage erase
33-
- coverage run --source hpecp/ setup.py test
34-
- coverage report -m
33+
- coverage run --source hpecp setup.py test
34+
- coverage report -m --fail-under 68
3535
- stage: coverage_cli
3636
name: "Code coverage CLI (./bin)"
3737
python: 3.8
3838
install:
3939
- pip3 install coverage
4040
script:
4141
- coverage erase
42-
- coverage run --source bin/ setup.py test
43-
- coverage report -m
42+
- coverage run --source bin setup.py test
43+
- coverage report -m --fail-under 32
4444
- stage: flake8
4545
name: "Flake8 code checks"
4646
python: 3.8

0 commit comments

Comments
 (0)