2015-08-20 19:48:08 +02:00
|
|
|
image: bradrydzewski/go:1.5
|
2015-09-01 16:09:07 +02:00
|
|
|
|
2014-06-12 22:51:55 +03:00
|
|
|
git:
|
|
|
|
path: github.com/drone/drone
|
2015-09-01 16:09:07 +02:00
|
|
|
|
2015-06-04 22:39:16 +02:00
|
|
|
env:
|
|
|
|
- GOROOT=/usr/local/go
|
|
|
|
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
|
|
|
|
2014-02-07 13:10:01 +03:00
|
|
|
script:
|
2015-09-30 03:21:17 +02:00
|
|
|
- apt-get -y -qq update
|
|
|
|
- apt-get -y -qq install libsqlite3-dev
|
|
|
|
- make deps
|
|
|
|
- make
|
|
|
|
- make test
|
|
|
|
- make deb
|
2015-04-07 10:20:55 +02:00
|
|
|
|
2014-02-07 13:10:01 +03:00
|
|
|
notify:
|
2014-10-15 07:53:39 +03:00
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- brad@drone.io
|
2015-05-09 10:41:24 +02:00
|
|
|
|
2015-05-26 00:27:33 +02:00
|
|
|
publish:
|
|
|
|
s3:
|
|
|
|
acl: public-read
|
|
|
|
region: us-east-1
|
|
|
|
bucket: downloads.drone.io
|
|
|
|
access_key: $$AWS_KEY
|
|
|
|
secret_key: $$AWS_SECRET
|
2015-09-30 03:21:17 +02:00
|
|
|
source: contrib/debian/drone.deb
|
2015-05-26 00:27:33 +02:00
|
|
|
target: $DRONE_BRANCH/
|
|
|
|
when:
|
|
|
|
owner: drone
|
|
|
|
|
2015-09-01 16:09:07 +02:00
|
|
|
|
2015-05-09 10:41:24 +02:00
|
|
|
|
2015-09-30 03:21:17 +02:00
|
|
|
---
|
|
|
|
|
2015-05-09 10:41:24 +02:00
|
|
|
clone:
|
|
|
|
path: github.com/drone/drone
|
|
|
|
|
|
|
|
build:
|
2015-09-30 03:21:17 +02:00
|
|
|
image: golang:1.5
|
2015-05-09 10:41:24 +02:00
|
|
|
commands:
|
2015-09-30 03:21:17 +02:00
|
|
|
- apt-get -y -qq update
|
|
|
|
- apt-get -y -qq install libsqlite3-dev
|
|
|
|
- make deps
|
|
|
|
- make gen
|
|
|
|
- make test
|
|
|
|
- make build
|
|
|
|
- make build_static
|
|
|
|
- make deb
|