welco/jenkins.sh

10 lines
359 B
Bash
Raw Normal View History

2015-10-28 16:41:04 +01:00
#!/bin/sh
pip install --upgrade setuptools
2016-01-20 19:33:44 +01:00
pip install --upgrade 'pip<8'
2015-10-28 16:41:04 +01:00
pip install --editable .
2018-03-09 08:55:08 +01:00
pip install --upgrade 'pylint<1.8' 'pylint-django<0.9' pytest pytest-cov pytest-django pytest-mock 'django<2'
2015-10-28 16:41:04 +01:00
pip install --upgrade WebTest==2.0.16
DJANGO_SETTINGS_MODULE=welco.settings py.test --junitxml=test_results.xml --cov-report xml --cov=welco/ tests/