on xenial help sign in
Introduce tox
1327512Christopher Lee
.bzrignore+3
@@ -8,3 +8,6 @@
8/.settings
8/.settings
9/.pydevproject
9/.pydevproject
10message.txt
10message.txt
11+# tox/python/autopilot
12+tests/autopilot/unity.egg-info
13+tests/autopilot/.tox
tests/autopilot/tox.ininew file+25
@@ -0,0 +1,25 @@
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.
4+#
5+# To use it, install the `tox` python package:
6+# "sudo pip install tox" or "sudo apt-get install python-tox"
7+# then run "tox" from this directory.
8+
9+
10+[tox]
11+envlist = flake8, py27, py33
12+
13+[flake8]
14+exclude = .tox
15+
16+[testenv]
17+sitepackages = True
18+commands =
19+ autopilot run {posargs:unity8.tests}
20+
21+[testenv:flake8]
22+deps =
23+ flake8
24+commands =
25+ flake8