1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
5 # http://www.apache.org/licenses/LICENSE-2.0
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS,
9 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 # See the License for the specific language governing permissions and
11 # limitations under the License.
14 envlist=py27,py26,py27e2e,py26e2e,pywin,py27ssh,pylint_code,pylint_tests,docs
15 processes={env:PYTEST_PROCESSES:auto}
16 py26={env:PY26:python2.6}
30 tests/requirements.txt
38 pywin: {env:PYTHON:}\python.exe
39 pylint_code: python2.7
40 pylint_tests: python2.7
46 --numprocesses={[tox]processes} \
47 --ignore=tests/end2end \
48 --ignore=tests/orchestrator/execution_plugin/test_ssh.py \
49 --cov-report term-missing \
55 --numprocesses={[tox]processes} \
56 --ignore=tests/end2end \
57 --ignore=tests/orchestrator/execution_plugin/test_ssh.py \
58 --cov-report term-missing \
63 pytest tests/end2end \
64 --numprocesses={[tox]processes} \
65 --cov-report term-missing \
70 pytest tests/end2end \
71 --numprocesses={[tox]processes} \
72 --cov-report term-missing \
78 --numprocesses={[tox]processes} \
79 --ignore=tests/end2end \
80 --ignore=tests/orchestrator/execution_plugin/test_ssh.py \
81 --cov-report term-missing \
86 pip install {opts} {packages} .[ssh]
88 pytest tests/orchestrator/execution_plugin/test_ssh.py \
89 --numprocesses={[tox]processes}
93 pip install {opts} {packages} .[ssh]
95 pytest tests/orchestrator/execution_plugin/test_ssh.py \
96 --numprocesses={[tox]processes}
100 pylint aria extensions/aria_extension_tosca/ \
101 --rcfile=aria/.pylintrc \
102 --disable=fixme,missing-docstring
104 [testenv:pylint_tests]
107 --rcfile=tests/.pylintrc \
108 --disable=fixme,missing-docstring
112 pip install {opts} {packages} \
113 --requirement docs/requirements.txt
115 rm --recursive --force docs/html
116 sphinx-build -W -T -b html docs docs/html