Skip to content

Commit

Permalink
update tox/travis for CLI v3/4 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Aug 20, 2017
1 parent 5210956 commit 311464b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,8 @@ env:
- TOX_ENV=docs
- TOX_ENV=py_func_v3
- TOX_ENV=py_func_v4
- TOX_ENV=cli_func
- TOX_ENV=cli_func_v3
- TOX_ENV=cli_func_v4
install:
- pip install tox
script:
Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Expand Up @@ -32,11 +32,14 @@ commands = python setup.py build_sphinx
commands =
python setup.py testr --slowest --coverage --testr-args="{posargs}"

[testenv:cli_func]
commands = {toxinidir}/tools/functional_tests.sh
[testenv:cli_func_v3]
commands = {toxinidir}/tools/functional_tests.sh -a 3

[testenv:cli_func_v4]
commands = {toxinidir}/tools/functional_tests.sh -a 4

[testenv:py_func_v3]
commands = {toxinidir}/tools/py_functional_tests.sh
commands = {toxinidir}/tools/py_functional_tests.sh -a 3

[testenv:py_func_v4]
commands = {toxinidir}/tools/py_functional_tests.sh -a 4

0 comments on commit 311464b

Please sign in to comment.