update gopath (#98)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-08-19 21:45:07 +08:00 committed by GitHub
parent 83273b5669
commit 65e15c4aab

View File

@ -1,6 +1,6 @@
workspace:
base: /srv/app
path: src/github.com/appleboy/drone-ssh
base: /go/src
path: github.com/appleboy/drone-ssh
clone:
git:
@ -13,9 +13,6 @@ pipeline:
image: appleboy/golang-testing
pull: true
group: golang
environment:
TAGS: netgo
GOPATH: /srv/app
commands:
- make vet
- make lint
@ -25,9 +22,6 @@ pipeline:
image: appleboy/golang-testing
pull: true
group: golang
environment:
TAGS: netgo
GOPATH: /srv/app
commands:
- make build
@ -35,9 +29,6 @@ pipeline:
image: appleboy/golang-testing
pull: true
group: golang
environment:
TAGS: netgo
GOPATH: /srv/app
commands:
- make ssh-server
- make test