forked from DataDog/integrations-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (35 loc) · 882 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
30
31
32
33
34
35
36
37
[tox]
minversion = 2.0
skip_missing_interpreters = true
basepython = py38
envlist =
py{27,38}-11.1
bench
[testenv]
ensure_default_envdir = true
envdir =
py27: {toxworkdir}/py27
py38: {toxworkdir}/py38
description =
py{27,38}: e2e ready
dd_check_style = true
usedevelop = true
platform = linux|darwin|win32
deps =
-e../datadog_checks_base[deps]
-rrequirements-dev.txt
passenv =
DOCKER*
COMPOSE*
setenv =
; for macOS https://github.com/ibmdb/python-ibmdb/tree/master/IBM_DB/ibm_db#issues-with-mac-os-x
DYLD_LIBRARY_PATH={envsitepackagesdir}/clidriver/lib:{env:DYLD_LIBRARY_PATH:none}
DB2_VERSION=11.1
11.1: DB2_VERSION=11.1
commands =
pip install -r requirements.in
pytest -v {posargs} --benchmark-skip
[testenv:bench]
commands =
pip install -r requirements.in
pytest --benchmark-only --benchmark-cprofile=tottime