summaryrefslogtreecommitdiff
path: root/tox.ini
blob: dd6581d8e7f012dc7c4d9b0ef9659db1fcb1f8c8 (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
33
[tox]
envlist = py{36,37,38}-{generator,noaccel}, py{36,37,38}-accel-{win,nix}, py{36,37,38}-streams
skipsdist = True

[pytest]
python_paths = framework/ generated_tests/

[testenv]
passenv=
    HOME
    USERPROFILE
setenv =
    USERNAME = foo
deps =
    accel-nix: lxml
    accel: simplejson
    py36-generator: numpy==1.7.0
    py{37,38}-generator: numpy
    mock==1.0.1
    py{36,37}: mako==1.0.2
    py38: mako==1.0.8
    pytest==3.2.5
    pytest-mock==1.11.2
    pytest-pythonpath
    pytest-raises
    pytest-timeout==1.2.1
    six==1.5.2
    {accel,noaccel,streams}: jsonschema
    streams: jsonstreams>=0.4.1
commands =
    {accel,noaccel}: py.test -rw unittests/framework unittests/suites []
    generator: py.test -rw unittests/generators []
    streams: py.test -rw unittests/framework/backends/test_json.py []