Tried to add coverage reports

This commit is contained in:
Manuel Cortez 2018-12-29 23:52:24 -06:00
parent 875aab7e00
commit e04691e901
2 changed files with 8 additions and 2 deletions

View File

@ -32,7 +32,10 @@ test_py3:
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
script:
- cd src
- '%PYTHON3% run_tests.py'
- '%PYTHON3% -m coverage run_tests.py'
- '%PYTHON3% -m coverage report'
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
only:
- master
- tags
@ -119,7 +122,9 @@ test_py2:
- '%PYTHON2% -m pip install --upgrade -r requirements.txt'
script:
- cd src
- '%PYTHON2% run_tests.py'
- '%PYTHON2% -m coverage run_tests.py'
- '%PYTHON2% -m coverage report'
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
only:
- master
- tags

View File

@ -1,3 +1,4 @@
coverage
wxpython
requests
bs4