on xenial help sign in
Introduce tox
commit1327512665581879412a14b74e4ca20742c35632 authorChristopher Lee <chris.lee@canonical.com> dateMon 11 Nov 2013, 15:28 (13 years ago) parentc3793e5
2 files changed+28
.bzrignore+3 tests/autopilot/tox.ini+25
.bzrignore+3
@@ -8,3 +8,6 @@
88/.settings
99/.pydevproject
1010message.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