aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/sra_client/tox.ini
blob: 69d59f4ffea24aecc81e7c330085a2f9855edbb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[tox]
envlist = py27, py3

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

commands=
   nosetests \
      []

[testenv:run_tests_against_test_deployment]
commands =
    # install dependencies from real PyPI
    pip install mypy_extensions pytest
    # install package-under-test from test PyPI
    pip install --index-url https://test.pypi.org/legacy/ 0x-sra-client
    pytest test

[testenv:run_tests_against_deployment]
deps=pytest
commands =
    pip install 0x-sra-client
    pytest test