File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ Google Cloud SDK installation path.
29
29
$ virtualenv -p python2.7 --no-site-packages /some/where
30
30
$ source /some/where/bin/activate
31
31
$ pip install tox
32
- $ env PYTHONPATH=${GCLOUD}/platform/google_appengine tox
32
+ $ export PYTHONPATH=${GCLOUD}/platform/google_appengine
33
+ $ export GOOGLE_APPLICATION_CREDENTIALS=your-service-account-json-file
34
+ $ tox
33
35
34
36
## Licensing
35
37
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ skipsdist = True
3
3
envlist = {py27}-{nosetest,pep8}, cover
4
4
5
5
[testenv]
6
- passenv = PYTHONPATH PROJECT_ID TRAVIS*
6
+ passenv = PYTHONPATH GOOGLE_* GCLOUD_* PROJECT_ID TRAVIS*
7
7
basepython =
8
8
cover,py27: python2.7
9
9
deps =
17
17
cover: coverage
18
18
cover: coveralls
19
19
cover: nosexcover
20
- setenv =
21
- GOOGLE_APPLICATION_CREDENTIALS =python-docs-samples.json
22
20
commands =
23
21
cover: nosetests --with-gae --with-xunit --with-xcoverage \
24
22
cover: --cover-tests --cover-branches --cover-min-percentage =70 \
You can’t perform that action at this time.
0 commit comments