-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtox.ini
46 lines (36 loc) · 944 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
38
39
40
41
42
43
44
45
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py36, py36-linux-package, docs
[testenv]
setenv =
# Used by moto
AWS_ACCESS_KEY_ID = 'AUIAIRUAE7WSA2EFDAS'
AWS_SECRET_ACCESS_KEY = 'iE/dTc/oXJH9Nrvm+Jj7r7m0iE/dTc/oXJ'
deps =
pytest
pytest-pep8
pytest-pylint
pex
wheel
moto
httpretty>=0.8.14
commands = py.test
[testenv:py36-linux-package]
basepython = python3.6
deps =
pex
wheel
commands =
/bin/bash -c 'pex . -r <(pip freeze) --disable-cache --python-shebang="/usr/bin/env python3" -o stacks_py36_linux.pex -c stacks'
[testenv:docs]
basepython = python3.6
deps =
Sphinx>=1.3.3
sphinx_bootstrap_theme
whitelist_externals=make
changedir=docs
commands =
make html