Added pytest-rerunfailures

This commit is contained in:
Raphael Michel
2016-09-16 00:03:42 +02:00
parent 20cb4abb7b
commit 68e51c0f74
3 changed files with 10 additions and 6 deletions

View File

@@ -20,12 +20,12 @@ if [ "$1" == "tests" ]; then
cd src
python manage.py check
make all compress
coverage run -m py.test tests && coverage report
coverage run -m py.test --rerun 5 tests && coverage report
fi
if [ "$1" == "tests-cov" ]; then
pip3 install -r src/requirements.txt -Ur src/requirements/dev.txt -r src/requirements/py34.txt
cd src
python manage.py check
make all compress
coverage run -m py.test tests && coveralls
coverage run -m py.test --rerun 5 tests && coveralls
fi