image: golang pipelines: default: - step: caches: - gobin # ※ dep 等もキャッシュしている - vendor # 依存パッケージのキャッシュ script: - IMPORT_PATH="${GOPATH}/src/bitbucket.org/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}" - mkdir -pv "${IMPORT_PATH}" - tar -cO --exclude-vcs --exclude=bitbucket-pipelines.yml . | tar -xv -C "${IMPORT_PATH}" - cd "${IMPORT_PATH}" - make setup - make definitions: caches: gobin: "${GOPATH
