Repository: incubator-ariatosca Updated Branches: refs/heads/build_fail_poc 094721cb4 -> ec5f78810
running all 1 Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/ec5f7881 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/ec5f7881 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/ec5f7881 Branch: refs/heads/build_fail_poc Commit: ec5f78810f1c0f99b6725f08514e24ccffbf6125 Parents: 094721c Author: max-orlov <[email protected]> Authored: Tue Jul 4 14:04:48 2017 +0300 Committer: max-orlov <[email protected]> Committed: Tue Jul 4 14:04:48 2017 +0300 ---------------------------------------------------------------------- .travis.yml | 6 ++++++ tox.ini | 33 +++++++++++++++++++++++++++++---- 2 files changed, 35 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/ec5f7881/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 8037b7f..de02d78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,14 @@ language: python python: - "2.7" env: +- TOX_ENV=pylint_code +- TOX_ENV=pylint_tests - TOX_ENV=py27 - TOX_ENV=py26 +- TOX_ENV=py27e2e +- TOX_ENV=py26e2e +- TOX_ENV=py27ssh +- TOX_ENV=py26ssh install: - pip install --upgrade pip - pip install --upgrade setuptools http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/ec5f7881/tox.ini ---------------------------------------------------------------------- diff --git a/tox.ini b/tox.ini index 5a66af8..3e1fb3c 100644 --- a/tox.ini +++ b/tox.ini @@ -25,14 +25,39 @@ deps = basepython = py26: python2.6 py27: python2.7 + py26e2e: python2.6 + py27e2e: python2.7 + py26ssh: python2.6 + py27ssh: python2.7 pywin: {env:PYTHON:}\python.exe - + pylint_code: python2.7 + pylint_tests: python2.7 [testenv:py27] -commands=pytest tests/orchestrator/workflows/core/test_events.py +commands=pytest tests --ignore=tests/end2end --ignore=tests/orchestrator/execution_plugin/test_ssh.py --cov-report term-missing --cov aria [testenv:py26] -commands=pytest tests/orchestrator/workflows/core/test_events.py +commands=pytest tests --ignore=tests/end2end --ignore=tests/orchestrator/execution_plugin/test_ssh.py --cov-report term-missing --cov aria + +[testenv:py27e2e] +commands=pytest tests/end2end --cov-report term-missing --cov aria + +[testenv:py26e2e] +commands=pytest tests/end2end --cov-report term-missing --cov aria [testenv:pywin] -commands=pytest tests/orchestrator/workflows/core/test_events.py +commands=pytest tests --ignore=tests/end2end --ignore=tests/orchestrator/execution_plugin/test_ssh.py --cov-report term-missing --cov aria + +[testenv:py27ssh] +install_command=pip install {opts} {packages} .[ssh] +commands=pytest tests/orchestrator/execution_plugin/test_ssh.py + +[testenv:py26ssh] +install_command=pip install {opts} {packages} .[ssh] +commands=pytest tests/orchestrator/execution_plugin/test_ssh.py + +[testenv:pylint_code] +commands=pylint --rcfile=aria/.pylintrc --disable=fixme,missing-docstring aria extensions/aria_extension_tosca/ + +[testenv:pylint_tests] +commands=pylint --rcfile=tests/.pylintrc --disable=fixme,missing-docstring tests
