diff --git a/.travis.sh b/.travis.sh index fd01fb8411..d71c9d641d 100755 --- a/.travis.sh +++ b/.travis.sh @@ -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 diff --git a/.travis.yml b/.travis.yml index 20eb6bbfdf..b40f204a18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,8 @@ matrix: env: JOB=tests PRETIX_CONFIG_FILE=tests/travis_postgres.cfg - python: 3.4 env: JOB=style + - python: 3.4 + env: JOB=plugins - python: 3.4 env: JOB=tests-cov addons: