Skip to content

Commit 03af64b

Browse files
author
Takashi Matsuo
committed
Added GCLOUD_* envvar to passenv section.
Fixes #17
1 parent 7939162 commit 03af64b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Google Cloud SDK installation path.
2929
$ virtualenv -p python2.7 --no-site-packages /some/where
3030
$ source /some/where/bin/activate
3131
$ 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
3335

3436
## Licensing
3537

tox.ini

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ skipsdist = True
33
envlist = {py27}-{nosetest,pep8}, cover
44

55
[testenv]
6-
passenv = PYTHONPATH PROJECT_ID TRAVIS*
6+
passenv = PYTHONPATH GOOGLE_* GCLOUD_* PROJECT_ID TRAVIS*
77
basepython =
88
cover,py27: python2.7
99
deps =
@@ -17,8 +17,6 @@ deps =
1717
cover: coverage
1818
cover: coveralls
1919
cover: nosexcover
20-
setenv =
21-
GOOGLE_APPLICATION_CREDENTIALS=python-docs-samples.json
2220
commands =
2321
cover: nosetests --with-gae --with-xunit --with-xcoverage \
2422
cover: --cover-tests --cover-branches --cover-min-percentage=70 \

0 commit comments

Comments
 (0)