include:
- stage: run unit tests
script: >
- tox -e docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py37,cover
+ tox -e docs,pep8,pylint,yamllint,bashate,py27,py37,cover
- stage: build xtesting images
script: sudo -E bash build.sh
env:
[tox]
-envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py37,cover,perm
+envlist = docs,pep8,pylint,yamllint,bashate,py27,py37,cover,perm
skipsdist = True
[testenv]
commands =
yamllint -s {[testenv:yamllint]files}
-[testenv:ansiblelint]
-basepython = python3.7
-commands =
- ansible-lint -x303,305,306 ansible/site.yml
-
[testenv:py37]
commands = nosetests xtesting/tests/unit