aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
blob: fb84d0f7a7be173d84a51dbcc41f8443259cc7cb (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
34
35
36
37
38
39
[tox]
envlist = py{36,37,38}-{generator,noaccel}, py{36,37,38}-accel-{win,nix}, py{36,37,38}-streams, py{36,37,38}-functional
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
    {accel,noaccel,generator,streams}: pytest==3.2.5
    functional: pytest>=3.9
    pytest-mock==1.11.2
    {accel,noaccel}: requests-mock
    {accel,noaccel}: packaging
    pytest-pythonpath
    pytest-raises
    pytest-timeout==1.2.1
    {accel,noaccel,streams}: jsonschema
    streams: jsonstreams>=0.4.1
    {accel,noaccel,functional}: pyyaml
    {accel,noaccel,functional}: requests
    {accel,noaccel,functional}: Pillow
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 []
    functional: py.test -rw functionaltests/framework []