forked from GoogleCloudPlatform/getting-started-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (28 loc) · 711 Bytes
/
tox.ini
File metadata and controls
33 lines (28 loc) · 711 Bytes
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
[tox]
skipsdist = True
envlist = lint,py27,py34
[testenv]
basepython = python2.7
deps =
-rrequirements.txt
-rrequirements-dev.txt
commands =
py.test --cov=bookshelf --no-success-flaky-report -m "not e2e" {posargs: tests}
passenv = GOOGLE_APPLICATION_CREDENTIALS DATASTORE_HOST E2E_URL
setenv = PYTHONPATH={toxinidir}
[testenv:py34]
basepython = python3.4
[testenv:py27-e2e]
basepython = python2.7
commands =
py.test --no-success-flaky-report -m "e2e" {posargs: tests}
[testenv:py34-e2e]
basepython = python2.7
commands =
py.test --no-success-flaky-report -m "e2e" {posargs: tests}
[testenv:lint]
deps =
flake8
flake8-import-order
commands =
flake8 --exclude=env --import-order-style=google