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