mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Integrate cartshare tests (#425)
This commit is contained in:
15
.travis.sh
15
.travis.sh
@@ -39,3 +39,18 @@ if [ "$1" == "tests-cov" ]; then
|
|||||||
make all compress
|
make all compress
|
||||||
coverage run -m py.test --rerun 5 tests && codecov
|
coverage run -m py.test --rerun 5 tests && codecov
|
||||||
fi
|
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
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ matrix:
|
|||||||
env: JOB=tests PRETIX_CONFIG_FILE=tests/travis_postgres.cfg
|
env: JOB=tests PRETIX_CONFIG_FILE=tests/travis_postgres.cfg
|
||||||
- python: 3.4
|
- python: 3.4
|
||||||
env: JOB=style
|
env: JOB=style
|
||||||
|
- python: 3.4
|
||||||
|
env: JOB=plugins
|
||||||
- python: 3.4
|
- python: 3.4
|
||||||
env: JOB=tests-cov
|
env: JOB=tests-cov
|
||||||
addons:
|
addons:
|
||||||
|
|||||||
Reference in New Issue
Block a user