summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 3210b0ee0bb4292cf5ad393c3696101032c2f51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tox]
envlist = py27,py26,py3,pyflakes
recreate = True
usedevelop = True

[testenv]
commands = python -m nose {posargs:tests}
deps = -r{toxinidir}/test-requirements.txt
       -r{toxinidir}/requirements.txt
setenv =
    LC_ALL = en_US.utf-8

[testenv:pyflakes]
basepython = python3
commands = {envpython} -m pyflakes {posargs:cloudinit/ tests/ tools/}
           {envpython} -m pep8 {posargs:cloudinit/ tests/ tools/}

[testenv:py3]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
       -r{toxinidir}/requirements.txt
       pyserial

[testenv:py27]
deps = -r{toxinidir}/test-requirements.txt
       -r{toxinidir}/requirements.txt
       pyserial

[testenv:py26]
commands = nosetests {posargs:tests}
deps = -r{toxinidir}/test-requirements.txt
       -r{toxinidir}/requirements.txt