Follow-up fix for a6af7a90

This commit is contained in:
Raphael Michel
2018-01-01 15:09:50 +01:00
parent ad03980c2b
commit fd3e941472

View File

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