Skip to content

Commit

Permalink
chore(.circleci/config.yml): Add Environment variable ’PYTHONPATH'. f…
Browse files Browse the repository at this point in the history
…ix #411 @6.0h
  • Loading branch information
みぞ@CrazyBeatCoder committed Aug 4, 2018
1 parent 063afdd commit 2234a20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
build:
working_directory: ~/repo
docker:
- image: circleci/python:2.7.15
- image: google/cloud-sdk
environment:
TZ: /usr/share/zoneinfo/Asia/Tokyo
# https://stackoverflow.com/questions/15783783/python-import-error-no-module-named-appengine-ext
PYTHONPATH: /usr/lib/google-cloud-sdk/platform/google_appengine:/usr/lib/google-cloud-sdk/platform/google_appengine/lib/:/usr/lib/google-cloud-sdk/platform/google_appengine/lib/yaml/
steps:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python2.7/site-packages
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
Expand Down

0 comments on commit 2234a20

Please sign in to comment.