forked from GoogleCloudPlatform/python-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
26 lines (25 loc) · 712 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
[tox]
skipsdist = True
envlist = {py27}-{nosetest,pep8}, cover
[testenv]
passenv = PYTHONPATH GOOGLE_* GCLOUD_* TEST_* TRAVIS*
basepython =
cover,py27: python2.7
deps =
flask
google-api-python-client
pep8: flake8
pep8: flake8-import-order
nosetest,cover: mock
nosetest,cover: nose
nosetest,cover: nosegae
cover: coverage
cover: coveralls
cover: nosexcover
commands =
cover: nosetests --with-gae --with-xunit --with-xcoverage \
cover: --cover-tests --cover-branches --cover-min-percentage=70 \
cover: --cover-inclusive --cover-erase
cover: coveralls
nosetest: nosetests --with-gae
pep8: flake8 --max-complexity=10 --import-order-style=google