Add workload message to callback
[osm/N2VC.git] / tox.ini
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.
5
6 [tox]
7 envlist = lint,py35
8 skipsdist=True
9
10 [testenv]
11 basepython=python3
12 usedevelop=True
13 # for testing with other python versions
14 commands=nosetests
15 deps =
16 nose
17 mock
18 pyyaml
19
20 [testenv:lint]
21 envdir = {toxworkdir}/py35
22 commands =
23 flake8 --ignore E501 {posargs} juju tests
24 deps =
25 flake8
26
27 [testenv:build]
28 basepython = python3
29 deps = stdeb
30 setuptools-version-command
31 commands = python3 setup.py --command-packages=stdeb.command bdist_deb