Adding .gitlab-ci.yml for GitLab
[kuberef.git] / tox.ini
1 [tox]
2 minversion = 3.5
3 skipsdist = True
4 envlist = lint,docs
5
6 [testenv]
7 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
8
9 [testenv:lint]
10 deps =
11    -r{toxinidir}/test-requirements.txt
12 whitelist_externals = bash
13 commands = bash -c "find {toxinidir} \
14    -not -path {toxinidir}/.tox/\* \
15 # E006 check for lines longer than 79 columns
16    -name \*.sh | xargs bashate -v -iE006"
17    bash -c "yamllint {toxinidir}"
18    bash -c "find {toxinidir} \
19    -not -path {toxinidir}/.tox/\* \
20    -name \*.rst | xargs rstcheck"