woodpecker/.drone.yml

63 lines
1 KiB
YAML
Raw Normal View History

2015-08-20 17:48:08 +00:00
image: bradrydzewski/go:1.5
2015-09-01 14:09:07 +00:00
2014-06-12 19:51:55 +00:00
git:
path: github.com/drone/drone
2015-09-01 14:09:07 +00:00
env:
- GOROOT=/usr/local/go
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
2014-02-07 10:10:01 +00:00
script:
2015-09-01 14:09:07 +00:00
- go run make.go deps
2015-08-27 09:03:23 +00:00
- go run make.go bindata
- go run make.go vet
2015-09-01 14:09:07 +00:00
- go run make.go fmt
- go run make.go build
2015-08-27 09:03:23 +00:00
- go run make.go 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
2015-09-01 14:09:07 +00:00
clone:
path: github.com/drone/drone
build:
2015-08-20 17:31:47 +00:00
image: golang:1.5.0
commands:
- export GOPATH=/drone
- export PATH=$PATH:$GOPATH/bin
2015-09-01 14:09:07 +00:00
- 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
2015-08-20 17:31:47 +00:00
- make dist
2015-08-24 18:25:01 +00:00
compose:
database:
image: mysql:5.5
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_DATABASE=test