2014-09-10 04:32:10 +00:00
|
|
|
image: go1.3
|
2014-06-12 19:51:55 +00:00
|
|
|
git:
|
|
|
|
path: github.com/drone/drone
|
2014-02-11 22:44:39 +00:00
|
|
|
env:
|
|
|
|
- GOROOT=/usr/local/go
|
2014-06-12 19:55:57 +00:00
|
|
|
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
2014-02-07 10:10:01 +00:00
|
|
|
script:
|
2015-05-17 02:46:12 +00:00
|
|
|
- git clone git://github.com/gin-gonic/gin.git $GOPATH/src/github.com/gin-gonic/gin
|
2015-04-25 23:46:02 +00:00
|
|
|
- go get -u github.com/jteeuwen/go-bindata/...
|
|
|
|
- make bindata deps
|
|
|
|
- make build
|
2014-02-07 10:10:01 +00:00
|
|
|
- make test
|
2015-05-25 22:30:22 +00:00
|
|
|
- make dist
|
2015-04-07 08:20:55 +00:00
|
|
|
|
2014-02-07 10:10:01 +00:00
|
|
|
notify:
|
2014-10-15 04:53:39 +00:00
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- brad@drone.io
|
2015-05-09 08:41:24 +00:00
|
|
|
|
2015-05-25 22:27:33 +00:00
|
|
|
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-05-09 08:41:24 +00:00
|
|
|
# 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
|
|
|
|
- make test
|