-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
51 lines (43 loc) · 1.06 KB
/
tox.ini
File metadata and controls
51 lines (43 loc) · 1.06 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
envlist = py27,py26,py32,py33,zsh,ksh,style
[testenv]
commands = bash ./tests/run_tests {envdir} []
deps = virtualenvwrapper
setenv =
TOXIC = true
[testenv:style]
deps = flake8
commands = flake8 virtualenvwrapper
[testenv:py27]
setenv =
SHELL = /bin/bash
commands = bash ./tests/run_tests {envdir} []
# Not sure why the basepython setting is needed, but on my system if
# it isn't included then the python version picked up for 2.6 is
# actually 2.7.
#
# IF THIS CAUSES YOU A PROBLEM COMMENT IT OUT BEFORE RUNNING THE TESTS.
#
[testenv:py26]
basepython=python2.6
setenv =
SHELL = /bin/bash
commands = bash ./tests/run_tests {envdir} []
[testenv:py32]
setenv =
SHELL = /bin/bash
commands = bash ./tests/run_tests {envdir} []
[testenv:py33]
setenv =
SHELL = /bin/bash
commands = bash ./tests/run_tests {envdir} []
[testenv:zsh]
basepython=python2.7
setenv =
SHELL = /bin/zsh
commands = zsh -o shwordsplit ./tests/run_tests {envdir} []
[testenv:ksh]
basepython=python2.7
setenv =
SHELL = /bin/ksh
commands = ksh ./tests/run_tests {envdir} []