ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxm...@apache.org
Subject incubator-ariatosca git commit: all but test_events.py
Date Tue, 04 Jul 2017 10:49:21 GMT
Repository: incubator-ariatosca
Updated Branches:
  refs/heads/build_fail_poc c6d8dcd45 -> 0ed899cd9


all but test_events.py


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/0ed899cd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/0ed899cd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/0ed899cd

Branch: refs/heads/build_fail_poc
Commit: 0ed899cd99bc8a056b6ce97d191089a2aa71ec97
Parents: c6d8dcd
Author: max-orlov <maxim@gigaspaces.com>
Authored: Tue Jul 4 13:49:16 2017 +0300
Committer: max-orlov <maxim@gigaspaces.com>
Committed: Tue Jul 4 13:49:16 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/0ed899cd/.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/0ed899cd/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 5a66af8..981a524 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 --full-trace --ignore=tests/orchestrator/workflows/core/test_events.py
--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 --full-trace --ignore=tests/orchestrator/workflows/core/test_events.py
--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 --full-trace --ignore=tests/orchestrator/workflows/core/test_events.py
--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


Mime
View raw message