woodpecker/.drone.yml

48 lines
904 B
YAML
Raw Normal View History

image: go1.3
2014-06-12 19:51:55 +00:00
git:
path: github.com/drone/drone
env:
- GOROOT=/usr/local/go
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
2014-02-07 10:10:01 +00:00
script:
2015-06-04 19:06:20 +00:00
- go get golang.org/x/tools/cmd/cover
2015-06-04 19:04:44 +00:00
- go get golang.org/x/tools/cmd/vet
2015-04-25 23:46:02 +00:00
- go get -u github.com/jteeuwen/go-bindata/...
- make bindata deps
2015-07-21 20:18:09 +00:00
- go run make.go build
- go run make.go vet test
2015-05-25 22:30:22 +00:00
- make dist
2014-02-07 10:10:01 +00:00
notify:
2014-10-15 04:53:39 +00:00
email:
recipients:
- brad@drone.io
publish:
s3:
acl: public-read
region: us-east-1
bucket: downloads.drone.io
access_key: $$AWS_KEY
secret_key: $$AWS_SECRET
source: dist/drone.deb
target: $DRONE_BRANCH/
when:
owner: drone
# new .drone.yml syntax
clone:
path: github.com/drone/drone
build:
image: golang:1.4.2
commands:
- export GOPATH=/drone
- export PATH=$PATH:$GOPATH/bin
- go get -u github.com/jteeuwen/go-bindata/...
- make bindata deps
- make build
2015-06-04 18:54:39 +00:00
- make test