blob: ff6431e819dc706b042fe28954057ae4112f2671 [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