File tree 1 file changed +28
-18
lines changed
1 file changed +28
-18
lines changed Original file line number Diff line number Diff line change 1
1
[tox]
2
2
skipsdist = True
3
- envlist = { py27}-{nosetest, pep8} , cover
3
+ envlist = py27, pep8, cover
4
4
5
5
[testenv]
6
6
passenv = PYTHONPATH GOOGLE_* GCLOUD_* TEST_* TRAVIS*
7
- basepython =
8
- cover,py27: python2.7
7
+ basepython = python2.7
8
+
9
+ [testenv:py27]
9
10
deps =
10
- flask
11
11
google-api-python-client
12
- pep8: flake8
13
- pep8: flake8-import-order
14
- nosetest,cover: mock
15
- nosetest,cover: nose
16
- nosetest,cover: nosegae
17
- cover: coverage
18
- cover: coveralls
19
- cover: nosexcover
12
+ flask
13
+ mock
14
+ nose
15
+ nosegae
20
16
commands =
21
- cover: nosetests --with-gae --with-xunit --with-xcoverage \
22
- cover: --cover-tests --cover-branches --cover-min-percentage =70 \
23
- cover: --cover-inclusive --cover-erase
24
- cover: coveralls
25
- nosetest: nosetests --with-gae {posargs}
26
- pep8: flake8 --max-complexity =10 --import-order-style =google
17
+ nosetests --with-gae {posargs}
18
+
19
+ [testenv:pep8]
20
+ deps =
21
+ flake8
22
+ flake8-import-order
23
+ commands =
24
+ flake8 --max-complexity =10 --import-order-style =google {posargs}
25
+
26
+ [testenv:cover]
27
+ deps =
28
+ {[testenv:py27]deps}
29
+ coverage
30
+ coveralls
31
+ nosexcover
32
+ commands =
33
+ nosetests --with-gae --with-xunit --with-xcoverage \
34
+ --cover-tests --cover-branches --cover-min-percentage =70 \
35
+ --cover-inclusive --cover-erase
36
+ coveralls
You can’t perform that action at this time.
0 commit comments