1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
7 envlist = py27, py33, py34, py35, pypy, cover, flake8, pylint-errors, pylint-full, verify-manifest
29 basepython = python3.5
31 nosetests --with-xunit --with-xcoverage --cover-package=minecraft --nocapture --cover-erase --cover-inclusive --cover-tests --cover-branches --cover-min-percentage=60
38 basepython = {[testenv:cover]basepython}
40 {[testenv
:cover]commands
}
47 basepython = python3.5
49 flake8 minecraft tests setup.py start.py bin
/generate_travis_yml.py
54 [testenv:pylint-errors]
55 basepython = python3.5
59 commands = pylint minecraft -E
62 basepython = python3.5
67 - pylint minecraft --disable=E
70 basepython = python3.5
76 {toxinidir
}/bin
/build_docs
78 [testenv:verify-manifest]
79 basepython = python3.5