blob: 502214f1638e3abeaeb72ff5dce615c19ffd312d [file] [log] [blame]
Adam Israelc3e6c2e2018-03-01 09:31:50 -05001# 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]
7envlist = lint,py35
8skipsdist=True
9
10[testenv]
11basepython=python3
12usedevelop=True
13# for testing with other python versions
14commands=nosetests
15deps =
16 nose
17 mock
18 pyyaml
19
20[testenv:lint]
21envdir = {toxworkdir}/py35
22commands =
23 flake8 --ignore E501 {posargs} juju tests
24deps =
25 flake8
Mike Marchetti4b81dfa2018-04-18 10:52:18 -040026
27[testenv:build]
28basepython = python3
29deps = stdeb
30 setuptools-version-command
31commands = python3 setup.py --command-packages=stdeb.command bdist_deb