Merge "[trivial] Rename tox jobs for zuul"

This commit is contained in:
Zuul 2018-06-07 14:21:51 +00:00 committed by Gerrit Code Review
commit aa74efbfc3
3 changed files with 6 additions and 6 deletions

View File

@ -36,11 +36,11 @@ docs:
.PHONY: tests-unit
tests-unit:
tox -e unit
tox -e py35
.PHONY: tests-pep8
tests-pep8:
tox -e lint
tox -e pep8
chartbanner:
@echo Building charts: $(CHARTS)

View File

@ -15,6 +15,6 @@
- hosts: primary
tasks:
- name: Execute a Whitespace Linter check
command: find . -not -path "*/\.*" -not -path "*/docs/build/*" -not -name "*.tgz" -type f -exec egrep -l " +$" {} \;
command: find . -not -path "*/\.*" -not -path "*/doc/build/*" -not -name "*.tgz" -type f -exec egrep -l " +$" {} \;
register: result
failed_when: result.stdout != ""

View File

@ -1,10 +1,10 @@
[tox]
envlist = lint,unit,bandit,docs
envlist = pep8,py35,bandit,docs
[testenv]
basepython=python3
[testenv:unit]
[testenv:py35]
setenv =
PYTHONWARNING=all
deps = -r{toxinidir}/requirements-frozen.txt
@ -48,7 +48,7 @@ whitelist_externals = sh
commands =
{toxinidir}/tools/lint_gate.sh
[testenv:lint]
[testenv:pep8]
deps =
yapf==0.20.0
flake8==3.5.0