machine:
  timezone:
    Asia/Tokyo
  environment:
    GAE_GO_SDK_VERSION: 1.9.25

dependencies:
  pre:
    - curl -o $HOME/go_appengine_${GAE_GO_SDK_VERSION}.zip https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-${GAE_GO_SDK_VERSION}.zip
    - unzip -q -d $HOME $HOME/go_appengine_${GAE_GO_SDK_VERSION}.zip
    - go get -u golang.org/x/oauth2
    - go get -u google.golang.org/cloud/compute/metadata

test:
  override:
    - cd gtoken/ && go build 

deployment:
  appengine:
    branch: master
    commands:
      - sh script/decrypt
      - $HOME/go_appengine/appcfg.py update src --oauth2_access_token $(./gtoken/gtoken --json ./.secret/key.json)

machine:
  timezone:
    Asia/Tokyo
  environment:
    GAE_GO_SDK_VERSION: 1.9.25

dependencies:
  pre:
    - curl -o $HOME/go_appengine_${GAE_GO_SDK_VERSION}.zip https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-${GAE_GO_SDK_VERSION}.zip
    - unzip -q -d $HOME $HOME/go_appengine_${GAE_GO_SDK_VERSION}.zip
    - $HOME/go_appengine/goapp get -u github.com/knightso/base/gae/ds
    - $HOME/go_appengine/goapp get -u code.google.com/p/go-uuid/uuid
    - $HOME/go_appengine/goapp get -u github.com/go-martini/martini
    - go get -u golang.org/x/oauth2
    - go get -u google.golang.org/cloud/compute/metadata

test:
  override:
    - cd gtoken/ && go build 

deployment:
  appengine:
    branch: master
    commands:
      - sh script/decrypt
      - $HOME/go_appengine/appcfg.py update src --oauth2_access_token $(./gtoken/gtoken --json ./.secret/key.json)

Add some libraries that caterpillar depends
Add some libraries that caterpillar depends
