Use the new make tasks for drone runs

This commit is contained in:
Thomas Boerger 2015-09-01 16:09:07 +02:00
parent 17740d0026
commit 4977375d33

View file

@ -1,18 +1,18 @@
image: bradrydzewski/go:1.5
git:
path: github.com/drone/drone
env:
- GOROOT=/usr/local/go
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
script:
- go get golang.org/x/tools/cmd/cover
- go get golang.org/x/tools/cmd/vet
- go get -u github.com/jteeuwen/go-bindata/...
- go run make.go deps
- go run make.go bindata
- go run make.go build
- go run make.go vet
- go run make.go fmt
- go run make.go build
- go run make.go test
- make dist
@ -34,7 +34,7 @@ publish:
when:
owner: drone
# new .drone.yml syntax
clone:
path: github.com/drone/drone
@ -44,10 +44,14 @@ build:
commands:
- export GOPATH=/drone
- export PATH=$PATH:$GOPATH/bin
- go get -u github.com/jteeuwen/go-bindata/...
- make deps
- make
- make test
- go run make.go deps
- go run make.go bindata
- go run make.go vet
- go run make.go fmt
- go run make.go build
- go run make.go test
- make dist
compose: