1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
woodpecker/.drone.yml

44 lines
816 B
YAML
Raw Normal View History

2015-06-04 21:01:12 +02:00
image: library/golang:1.4.2
2014-06-12 22:51:55 +03:00
git:
path: github.com/drone/drone
2014-02-07 13:10:01 +03:00
script:
2015-06-04 21:03:13 +02:00
- export GOPATH=/var/cache/drone
2015-06-04 21:01:12 +02:00
- export PATH=$PATH:$GOPATH/bin
2015-04-26 01:46:02 +02:00
- go get -u github.com/jteeuwen/go-bindata/...
- make bindata deps
- make build
2014-02-07 13:10:01 +03:00
- make test
2015-05-26 00:30:22 +02:00
- make dist
2014-02-07 13:10:01 +03:00
notify:
2014-10-15 07:53:39 +03: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 20:54:39 +02:00
- make test