diff --git a/.travis.sh b/.travis.sh index 6f3833ca69..5cee1168f8 100755 --- a/.travis.sh +++ b/.travis.sh @@ -38,14 +38,14 @@ if [ "$1" == "tests" ]; then cd src python manage.py check make all compress - py.test --rerun 5 tests + py.test --reruns 5 tests 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 --rerun 5 tests && codecov + coverage run -m py.test --reruns 5 tests && codecov fi if [ "$1" == "plugins" ]; then pip3 install -r src/requirements.txt -Ur src/requirements/dev.txt -r src/requirements/py34.txt @@ -58,7 +58,7 @@ if [ "$1" == "plugins" ]; then cd pretix-cartshare python setup.py develop make - py.test --rerun 5 tests + py.test --reruns 5 tests popd fi