forked from signalfx/signalfx-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (24 loc) · 811 Bytes
/
tox.ini
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
[test]
envlist = py27,py38,flake8
[tox:travis]
2.7 = py27
3.8 = py38
[testenv]
usedevelop = True
passenv = ORG_NAME_FOR_SIGNALFX_API_TOKEN_IS_SFx_Test SIGNALFX_API_TOKEN
deps = -r{toxinidir}/requirements-test.txt
ignore_errors = True
commands = python {toxinidir}/tests/test_data_reporting.py
python {toxinidir}/tests/live_tests.py --metric_name 'MET' --tag_name 'TG' --key 'K' --value 'V'
python {toxinidir}/tests/unittests_test.py
python {toxinidir}/tests/pyformance_test.py
[testenv:flake8]
commands = flake8 --exclude="generated*" {toxinidir}/signalfx/
flake8 {toxinidir}/examples/
flake8 {toxinidir}/tests/
deps = flake8
[testenv:py27]
basepython = python2.7
[testenv:py38]
basepython = python3.8
install_command = pip3 install {opts} {packages}