tox.ini 974 Bytes
Newer Older
1
[tox]
2
envlist = py{27,34,35,36,37}-{generator,noaccel}, py{27,34,35,36,37}-accel-{win,nix}, py{27,34,35,36,37}-streams
3
skipsdist = True
4

5 6 7
[pytest]
python_paths = framework/ generated_tests/

8
[testenv]
9 10 11
passenv=
    HOME
    USERPROFILE
12 13
setenv =
    USERNAME = foo
14
deps =
15
    accel-nix: lxml
16
    accel: simplejson
17 18
    py{27,34,35,36}-generator: numpy==1.7.0
    py37-generator: numpy
19
    mock==1.0.1
20
    py27-accel-nix,py{34,35,36,37}-{accel,noaccel}: psutil
21 22
    py27-accel-nix: backports.lzma
    py27-accel-nix: subprocess32
23
    py{35,36,37}: mako==1.0.2
24
    pytest==3.2.5
25
    pytest-mock
26 27
    pytest-pythonpath
    pytest-raises
28
    pytest-timeout==1.2.1
29
    py{27,34}: mako==0.8.0
30
    six==1.5.2
Dylan Baker's avatar
Dylan Baker committed
31
    {accel,noaccel,streams}: jsonschema
32
    streams: jsonstreams>=0.4.1
33
commands = 
34 35
    {accel,noaccel}: py.test -rw unittests/framework unittests/suites []
    generator: py.test -rw unittests/generators []
Dylan Baker's avatar
Dylan Baker committed
36
    streams: py.test -rw unittests/framework/backends/test_json.py []