added flake8 in jenkinsfile

Signed-off-by: Martin Curlej <mcurlej@redhat.com>
This commit is contained in:
Martin Curlej
2017-11-08 10:50:02 +01:00
parent b578f802a6
commit 12628e5497
2 changed files with 2 additions and 1 deletions

2
Jenkinsfile vendored
View File

@@ -36,7 +36,7 @@ node('factory2'){
}
stage('Run Test Suite') {
onmyduffynode 'cd fm-orchestrator && pip install -r requirements.txt && pip install -r test-requirements.txt && python setup.py develop && pytest -v tests/'
onmyduffynode 'cd fm-orchestrator && pip install -r requirements.txt && pip install -r test-requirements.txt && python setup.py develop && flake8 --ignore E731 --exclude .tox,.git,module_build_service/migrations && pytest -v tests/'
}
}catch (e){

View File

@@ -3,3 +3,4 @@ mock
nose
pytest
vcrpy
flake8