<commit_before>[tox]
# envlist = py26,py27,py34,flake8-py2,flake8-py3,pylint,pylint3
envlist = py27,flake8-py2,py35
skipsdist = true
skip_missing_interpreters=true

[testenv]
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}/st2tests
       -e{toxinidir}/st2actions
       -e{toxinidir}/st2api
       -e{toxinidir}/st2auth
       -e{toxinidir}/st2client
       -e{toxinidir}/st2common
       -e{toxinidir}/st2reactor
commands =
    nosetests -sv st2actions/tests/unit
    nosetests -sv st2api/tests/unit
    nosetests -sv st2auth/tests/unit
    nosetests -sv st2client/tests/unit
    nosetests -sv st2common/tests/unit
    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
       -e{toxinidir}/st2client
commands =
    nosetests -sv st2client/tests/unit

[testenv:venv]
commands = {posargs}<commit_msg>Make sure we add st2common to PYTHONPATH.<commit_after>[tox]
# envlist = py26,py27,py34,flake8-py2,flake8-py3,pylint,pylint3
envlist = py27,flake8-py2,py35
skipsdist = true
skip_missing_interpreters=true

[testenv]
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}/st2tests
       -e{toxinidir}/st2actions
       -e{toxinidir}/st2api
       -e{toxinidir}/st2auth
       -e{toxinidir}/st2client
       -e{toxinidir}/st2common
       -e{toxinidir}/st2reactor
commands =
    nosetests -sv st2actions/tests/unit
    nosetests -sv st2api/tests/unit
    nosetests -sv st2auth/tests/unit
    nosetests -sv st2client/tests/unit
    nosetests -sv st2common/tests/unit
    nosetests -sv st2reactor/tests/unit
    nosetests -sv st2tests/tests/unit

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

[testenv:venv]
commands = {posargs}
{'fraction_non_alphanumeric': 0.11499215070643642, 'fraction_numerical': 0.029827315541601257, 'mean_word_length': 3.559928443649374, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '991529', 'n_tokens_mistral': 1043, 'n_tokens_neox': 998, 'n_words': 161}