mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
Use the new make tasks for drone runs
This commit is contained in:
parent
17740d0026
commit
4977375d33
24
.drone.yml
24
.drone.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user