forked from elastic/rally
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (39 loc) · 1.09 KB
/
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
38
39
40
41
42
###############################################################################
#
# tox configuration for Rally.
#
# Invocation: Run `make it`
#
###############################################################################
[tox]
envlist =
docs, py35, py36, py37, py38
platform =
linux|darwin
[testenv]
passenv =
HOME
JAVA8_HOME
JAVA9_HOME
JAVA10_HOME
JAVA11_HOME
JAVA12_HOME
SSH_AUTH_SOCK
# we do not pass LANG and LC_ALL anymore in order to isolate integration tests
# from the test environment. Rally needs to enforce UTF-8 encoding in every
# place so we intentionally set LC_ALL to C.
setenv =
LC_ALL=C
# According to http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html
# LC_ALL should have priority but to ensure that non-confirming
# applications behave identically, we also set LANG explicitly.
LANG=C
commands =
py.test --junitxml=junit-{envname}.xml
./integration-test.sh
whitelist_externals =
py.test
[testenv:docs]
basepython=python
changedir=docs
commands=sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html