Skip to content

Commit

Permalink
update tox to test st2client under python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed Jan 7, 2018
1 parent dc7b833 commit 799717f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
# envlist = py26,py27,py34,flake8-py2,flake8-py3,pylint,pylint3
envlist = py27,flake8-py2
envlist = py27,flake8-py2,py35
skipsdist = true
skip_missing_interpreters=true

Expand All @@ -26,6 +26,17 @@ commands =
nosetests -sv st2reactor/tests/unit
nosetests -sv st2tests/tests/unit

[testenv:py35]
basepython = python3.5
setenv = PYTHONPATH = {toxinidir}/external
VIRTUALENV_DIR = {envdir}
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-e{toxinidir}/st2client
commands =
nosetests -sv st2client/tests/unit

[testenv:venv]
commands = {posargs}

Expand Down

0 comments on commit 799717f

Please sign in to comment.