add jenkins.sh (#8789)

This commit is contained in:
Benjamin Dauvergne 2015-10-28 16:41:04 +01:00 committed by Frédéric Péters
parent 2b36c69569
commit 661ccf4747
1 changed files with 9 additions and 0 deletions

9
jenkins.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
pip install --upgrade setuptools
pip install --upgrade pip
pip install --editable .
pip install --upgrade pytest pytest-cov pytest-django pytest-mock
pip install --upgrade WebTest==2.0.16
DJANGO_SETTINGS_MODULE=welco.settings py.test --junitxml=test_results.xml --cov-report xml --cov=welco/ tests/