Make travis fail when pytest fails

pull/401/head
Tim Head 2018-09-14 16:44:40 +02:00
rodzic 9fb2a40a2b
commit 7f1f270e12
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -17,9 +17,9 @@ script:
# possible issues with MANIFEST.in
- pushd tests;
if [ ${REPO_TYPE} == "r" ]; then
travis_wait pytest --cov repo2docker -v ${REPO_TYPE};
travis_wait pytest --cov repo2docker -v ${REPO_TYPE} || exit 1;
else
travis_retry pytest --cov repo2docker -v ${REPO_TYPE};
travis_retry pytest --cov repo2docker -v ${REPO_TYPE} || exit 1;
fi;
popd;
- pip install -r docs/doc-requirements.txt