File tree Expand file tree Collapse file tree 1 file changed +28
-18
lines changed Expand file tree Collapse file tree 1 file changed +28
-18
lines changed Original file line number Diff line number Diff line change 11[tox]
22skipsdist = True
3- envlist = { py27}-{nosetest, pep8} , cover
3+ envlist = py27, pep8, cover
44
55[testenv]
66passenv = PYTHONPATH GOOGLE_* GCLOUD_* TEST_* TRAVIS*
7- basepython =
8- cover,py27: python2.7
7+ basepython = python2.7
8+
9+ [testenv:py27]
910deps =
10- flask
1111 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
2016commands =
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