Skip to content

Commit

Permalink
Added GCLOUD_* envvar to passenv section.
Browse files Browse the repository at this point in the history
Fixes #17
  • Loading branch information
Takashi Matsuo committed May 15, 2015
1 parent 7939162 commit 03af64b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ Google Cloud SDK installation path.
$ virtualenv -p python2.7 --no-site-packages /some/where
$ source /some/where/bin/activate
$ pip install tox
$ env PYTHONPATH=${GCLOUD}/platform/google_appengine tox
$ export PYTHONPATH=${GCLOUD}/platform/google_appengine
$ export GOOGLE_APPLICATION_CREDENTIALS=your-service-account-json-file
$ tox

## Licensing

Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ skipsdist = True
envlist = {py27}-{nosetest,pep8}, cover

[testenv]
passenv = PYTHONPATH PROJECT_ID TRAVIS*
passenv = PYTHONPATH GOOGLE_* GCLOUD_* PROJECT_ID TRAVIS*
basepython =
cover,py27: python2.7
deps =
Expand All @@ -17,8 +17,6 @@ deps =
cover: coverage
cover: coveralls
cover: nosexcover
setenv =
GOOGLE_APPLICATION_CREDENTIALS=python-docs-samples.json
commands =
cover: nosetests --with-gae --with-xunit --with-xcoverage \
cover: --cover-tests --cover-branches --cover-min-percentage=70 \
Expand Down

0 comments on commit 03af64b

Please sign in to comment.