2 envlist = docs,pep8,pylint,py35,py27,perm,aarch64
7 -r{toxinidir}/requirements.txt
8 -r{toxinidir}/test-requirements.txt
9 install_command = pip install \
10 -c{toxinidir}/upper-constraints.txt \
11 -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata \
13 commands = nosetests --with-xunit \
16 --cover-package=functest \
22 basepython = python2.7
23 commands = sphinx-build -W -b html api/ api/_build
26 basepython = python2.7
30 basepython = python2.7
31 whitelist_externals = bash
35 functest.opnfv_tests.sdn.odl
36 functest.tests.unit.core
37 functest.tests.unit.odl
38 functest.tests.unit.utils.test_decorators
39 functest.utils.decorators
42 pylint -f parseable --disable=locally-disabled functest | \
43 tee pylint.out | sed -ne '/Raw metrics/,//p'"
44 pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}
48 functest/tests/unit/core
49 functest/tests/unit/odl
50 functest/tests/unit/utils/test_decorators.py
51 commands = nosetests {[testenv:py35]dirs}
54 basepython = python2.7
55 whitelist_externals = bash
56 path=. -not -path './.tox/*' -not -path './.git/*' -not -path './docs/com/pres/reveal.js/*'
59 find {[testenv:perm]path} \( -type f -not -perm 644 -o -type d -not -perm 755 \) \
60 -exec ls -l \{\} + | grep '.' && exit 1 || exit 0"
62 find {[testenv:perm]path} -exec file \{\} + | grep CRLF && exit 1 || exit 0"
65 basepython = python2.7
70 bash -c "patch -f -p1 < docker/Dockerfile.aarch64.patch"
71 git checkout docker/Dockerfile