0001-jenkins-add-settings-environment-variables.patch
jenkins.sh | ||
---|---|---|
29 | 29 |
$PIP_BIN install git+https://git.entrouvert.org/debian/django-ckeditor.git |
30 | 30 |
$PIP_BIN install --upgrade 'Django<1.12' 'gadjo' 'pyproj' |
31 | 31 | |
32 |
LC_ALL=C LC_TIME=C LANG=C PYTHONPATH=$(pwd):$PYTHONPATH venv/bin/py.test --junitxml=test_results.xml --cov-report xml --cov-report html --cov=wcs/ --cov-config .coveragerc -v tests/ |
|
32 |
DJANGO_SETTINGS_MODULE=wcs.settings \ |
|
33 |
WCS_SETTINGS_FILE=tests/settings.py \ |
|
34 |
LC_ALL=C LC_TIME=C LANG=C \ |
|
35 |
PYTHONPATH=$(pwd):$PYTHONPATH venv/bin/py.test --junitxml=test_results.xml --cov-report xml --cov-report html --cov=wcs/ --cov-config .coveragerc -v tests/ |
|
33 | 36 |
test -f pylint.out && cp pylint.out pylint.out.prev |
34 | 37 |
(venv/bin/pylint -f parseable --rcfile /var/lib/jenkins/pylint.wcs.rc wcs | tee pylint.out) || /bin/true |
35 | 38 |
test -f pylint.out.prev && (diff pylint.out.prev pylint.out | grep '^[><]' | grep .py) || /bin/true |
36 |
- |