Created
July 11, 2016 21:06
-
-
Save signed8bit/441af7cccea4e98a40ee1d098ca9365c to your computer and use it in GitHub Desktop.
DEVNET-1027 python-commit-job Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
virtualenv .test_venv | |
source .test_venv/bin/activate | |
cd ${WORKSPACE}/${GERRIT_PROJECT} | |
pip install -r requirements-dev.txt | |
flake8 . > ${WORKSPACE}/flake8.log | |
py.test --junit-xml=${WORKSPACE}/nosetests.xml > ${WORKSPACE}/pytest.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment