Try to stabilize acceptance tests

This commit is contained in:
Alexander Kukushkin
2016-04-13 13:32:39 +02:00
parent f8bf1bb0ab
commit 15d30a2d35
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -51,15 +51,19 @@ script:
if [[ $TEST_SUITE == "behave" ]]; then
if [[ $pv != "3.4" ]]; then
echo Running acceptance tests using python${pv}
if ! PATH=.:$PATH $TEST_SUITE; then
grep . features/output/*/*postgres?.*
fi
fi
else
echo Running unit tests using python${pv}
$TEST_SUITE test
$TEST_SUITE flake8
fi
done
set +e
after_success:
- coveralls
- if [[ $TEST_SUITE != "behave" ]]; then python-codacy-coverage -r coverage.xml; fi