Check build.sh via bashate
[functest-kubernetes.git] / tox.ini
1 [tox]
2 envlist = pep8,pylint,yamllint,bashate,py27,py35
3
4 [testenv]
5 usedevelop = True
6 deps =
7   -chttps://git.opnfv.org/functest/plain/upper-constraints.txt
8   -r{toxinidir}/requirements.txt
9   -r{toxinidir}/test-requirements.txt
10 install_command = pip install {opts} {packages}
11 commands = nosetests --with-xunit \
12   --with-coverage \
13   --cover-tests \
14   --cover-package=functest_kubernetes \
15   --cover-xml \
16   --cover-html \
17   functest_kubernetes
18
19 [testenv:pep8]
20 basepython = python2.7
21 commands = flake8
22
23 [testenv:pylint]
24 basepython = python2.7
25 whitelist_externals = bash
26 modules =
27   functest_kubernetes
28 commands =
29   pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}
30
31 [testenv:yamllint]
32 basepython = python2.7
33 files =
34   .travis.yml
35   docker
36 commands =
37   yamllint {[testenv:yamllint]files}
38
39 [testenv:bashate]
40 basepython = python2.7
41 files =
42   build.sh
43 commands = bashate {[testenv:bashate]files}