File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ cleanup() {
1212
1313trap " cleanup" INT TERM EXIT
1414
15- # Run tests with "python -m pytest" to use the correct version of pytest
16- echo -e " \n\n****** Running tests ******\n\n"
17- python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./pytest_cases -v pytest_cases/tests/
15+ if [ " ${TRAVIS_PYTHON_VERSION} " = " 3.5" ]; then
16+ # full
17+ # Run tests with "python -m pytest" to use the correct version of pytest
18+ echo -e " \n\n****** Running tests ******\n\n"
19+ python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./pytest_cases -v pytest_cases/tests/
20+ else
21+ # faster - skip coverage and html report but keep junit (because used in validity threshold)
22+ echo -e " \n\n****** Running tests******\n\n"
23+ python -m pytest --junitxml=reports/junit/junit.xml -v pytest_cases/tests/
24+ fi
You can’t perform that action at this time.
0 commit comments