Fixed bad syntax in coverage report

This commit is contained in:
Manuel Cortez 2018-12-29 23:54:44 -06:00
parent e04691e901
commit 45a54a019f

View File

@ -32,7 +32,7 @@ test_py3:
- '%PYTHON3% -m pip install --upgrade -r requirements.txt'
script:
- cd src
- '%PYTHON3% -m coverage run_tests.py'
- '%PYTHON3% -m coverage run run_tests.py'
- '%PYTHON3% -m coverage report'
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
@ -111,7 +111,7 @@ build_setup:
# Automatic updates and generation of a windows installer file are not supported for this version.
# The following jobs are not documented as they are basically the same than those used for python 3.
# Python 3 tests
# Python 2 tests
test_py2:
stage: test
tags:
@ -122,7 +122,7 @@ test_py2:
- '%PYTHON2% -m pip install --upgrade -r requirements.txt'
script:
- cd src
- '%PYTHON2% -m coverage run_tests.py'
- '%PYTHON2% -m coverage run run_tests.py'
- '%PYTHON2% -m coverage report'
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
only: