<commit_before>[tox]
envlist = flake8,
          py27twisted,
          pypy2twisted


[testenv]
deps = pytest
commands = python -m pytest
whitelist_externals = sh


[testenv:flake8]
deps =
   flake8
   mock
commands =
   flake8 --ignore=E501 crossbar
basepython = python2.7


[testenv:py27twisted]
deps =
   twisted
   mock
   coverage
commands =
   sh -c "which python"
   sh -c "which coverage"
   python -V
   coverage --version
   {envbindir}/trial --version
   coverage run {envbindir}/trial crossbar
   coverage report
   coverage html
basepython = python2.7
install_command = pip install {packages} \
   https://github.com/tavendo/AutobahnPython/archive/master.zip \
   crossbar[all]


[testenv:pypy2twisted]
deps =
   twisted
   mock
commands =
   sh -c "which python"
   sh -c "which trial"
   python -V
   trial --version
   trial crossbar
basepython = pypy
install_command = pip install {packages} \
   https://github.com/tavendo/AutobahnPython/archive/master.zip \
   crossbar[all]<commit_msg>try using AutobahnPython trunk with Tox<commit_after>[tox]
envlist = flake8,
          py27twisted,
          pypy2twisted


[testenv]
deps = pytest
commands = python -m pytest
whitelist_externals = sh


[testenv:flake8]
deps =
   flake8
   mock
commands =
   flake8 --ignore=E501 crossbar
basepython = python2.7


[testenv:py27twisted]
deps =
   twisted
   mock
   coverage
commands =
   sh -c "which python"
   sh -c "which coverage"
   python -V
   coverage --version
   {envbindir}/trial --version
   coverage run {envbindir}/trial crossbar
   coverage report
   coverage html
basepython = python2.7
install_command = pip install {packages} https://github.com/tavendo/AutobahnPython/archive/master.zip crossbar[all]


[testenv:pypy2twisted]
deps =
   twisted
   mock
commands =
   sh -c "which python"
   sh -c "which trial"
   python -V
   trial --version
   trial crossbar
basepython = pypy
install_command = pip install {packages} https://github.com/tavendo/AutobahnPython/archive/master.zip crossbar[all]
{'fraction_non_alphanumeric': 0.09217046580773043, 'fraction_numerical': 0.01684836471754212, 'mean_word_length': 3.20625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1573956', 'n_tokens_mistral': 724, 'n_tokens_neox': 710, 'n_words': 178}