forked from elastic/rally
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (48 loc) · 1.12 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
43
44
45
46
47
48
49
50
###########################################################################################################
#
# tox configuration for Rally.
#
# Invocation: Just run "tox" from the project root.
#
# Prerequisites
# ==============
#
# * Tox (pip3 install tox)
# * Python 3.4, 3.5 and 3.6 available (use pyenv: https://github.com/yyuu/pyenv)
#
# Hint: When using pyenv, new Python interpreters can be installed with:
#
# pyenv install 3.4.5
# pyenv install 3.5.2
# pyenv install 3.6.0
#
# pyenv global system 3.6.0 3.5.2 3.4.5
#
# For details see https://github.com/yyuu/pyenv#choosing-the-python-version
#
###########################################################################################################
[tox]
envlist =
docs, py34, py35, py36
platform =
linux|darwin
[testenv]
deps =
pytest
pytest-benchmark
passenv =
HOME
JAVA_HOME
SSH_AUTH_SOCK
LANG
LC_ALL
commands =
py.test --junitxml=junit-{envname}.xml
./integration-test.sh
[testenv:docs]
basepython=python
changedir=docs
deps=
sphinx
sphinx_rtd_theme
commands=sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html