update GOPATH. (#244)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-06-25 00:42:40 -05:00 committed by GitHub
parent ecd0aa8ed2
commit 17229a17f8
1 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,6 @@
workspace: workspace:
base: /srv/app base: /go/src
path: src/github.com/appleboy/gorush path: github.com/appleboy/gorush
clone: clone:
git: git:
@ -12,10 +12,7 @@ pipeline:
build: build:
image: appleboy/golang-testing image: appleboy/golang-testing
secrets: [ codecov_token, android_test_token, android_api_key ] secrets: [ codecov_token, android_test_token, android_api_key ]
environment:
- GOPATH=/srv/app
commands: commands:
- export PATH=$${PATH}:/srv/app/bin
- make deps - make deps
- make vet - make vet
- make lint - make lint