0001-Jenkinsfile-run-pylint-51640.patch
Jenkinsfile | ||
---|---|---|
11 | 11 |
post { |
12 | 12 |
always { |
13 | 13 |
script { |
14 |
sh 'tox -e pylint' |
|
14 | 15 |
utils = new Utils() |
15 | 16 |
utils.publish_coverage('coverage.xml') |
16 | 17 |
utils.publish_coverage_native('index.html') |
tox.ini | ||
---|---|---|
36 | 36 |
py.test -o junit_suite_name={envname} --junit-xml=junit-{envname}.xml --random {env:COVERAGE:} {posargs:tests} |
37 | 37 | |
38 | 38 |
[testenv:pylint] |
39 |
basepython = python2.7
|
|
39 |
basepython = python3
|
|
40 | 40 |
deps = |
41 |
pylint<1.8
|
|
42 |
pylint-django<0.8.1
|
|
41 |
pylint |
|
42 |
pylint-django |
|
43 | 43 |
commands = |
44 |
pylint: ./pylint.sh mellon |
|
44 |
./getlasso3.sh |
|
45 |
./pylint.sh mellon |
|
45 | 46 | |
46 | 47 |
[testenv:django-admin] |
47 | 48 |
whitelist_externals = django-admin |
48 |
- |