Integrate cartshare tests (#425)

This commit is contained in:
Raphael Michel
2017-03-12 00:32:33 +01:00
committed by GitHub
parent 96c61a073c
commit be1cbfeb91
2 changed files with 17 additions and 0 deletions

View File

@@ -39,3 +39,18 @@ if [ "$1" == "tests-cov" ]; then
make all compress
coverage run -m py.test --rerun 5 tests && codecov
fi
if [ "$1" == "plugins" ]; then
pip3 install -r src/requirements.txt -Ur src/requirements/dev.txt -r src/requirements/py34.txt
cd src
python setup.py develop
make all compress
pushd ~
git clone --depth 1 https://github.com/pretix/pretix-cartshare.git
cd pretix-cartshare
python setup.py develop
make
py.test --rerun 5 tests
popd
fi