2014-09-09 21:32:10 -07:00
|
|
|
image: go1.3
|
2014-06-12 12:51:55 -07:00
|
|
|
git:
|
|
|
|
path: github.com/drone/drone
|
2014-02-11 15:44:39 -07:00
|
|
|
env:
|
|
|
|
- GOROOT=/usr/local/go
|
2014-06-12 12:55:57 -07:00
|
|
|
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
2014-02-07 03:10:01 -07:00
|
|
|
script:
|
2014-10-12 20:22:51 +04:00
|
|
|
- sudo apt-get -y install zip libsqlite3-dev sqlite3 rpm 1> /dev/null 2> /dev/null
|
|
|
|
- gem install fpm
|
|
|
|
- rbenv rehash
|
2014-06-05 15:04:28 -07:00
|
|
|
- make deps
|
2014-02-07 03:10:01 -07:00
|
|
|
- make test
|
2014-09-30 23:30:42 -07:00
|
|
|
- make test_postgres
|
|
|
|
- make test_mysql
|
2014-10-12 20:22:51 +04:00
|
|
|
- make packages
|
2014-09-30 23:30:42 -07:00
|
|
|
services:
|
|
|
|
- postgres
|
|
|
|
- mysql
|
2014-02-07 03:10:01 -07:00
|
|
|
notify:
|
2014-10-14 21:53:39 -07:00
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- brad@drone.io
|
2014-10-12 13:02:53 -07:00
|
|
|
gitter:
|
2014-10-14 21:53:39 -07:00
|
|
|
room_id: $$GITTER_ROOM
|
2014-10-14 19:34:21 -07:00
|
|
|
token: $$GITTER_KEY
|
2014-10-12 13:02:53 -07:00
|
|
|
on_started: false
|
2014-10-14 21:53:39 -07:00
|
|
|
on_success: true
|
|
|
|
on_failure: true
|
2014-02-07 03:38:06 -07:00
|
|
|
|
2014-08-02 10:50:02 -07:00
|
|
|
publish:
|
|
|
|
s3:
|
|
|
|
acl: public-read
|
|
|
|
region: us-east-1
|
|
|
|
bucket: downloads.drone.io
|
2014-10-14 19:34:21 -07:00
|
|
|
access_key: $$AWS_KEY
|
|
|
|
secret_key: $$AWS_SECRET
|
2014-10-12 13:32:23 -07:00
|
|
|
source: packaging/output/
|
2014-09-09 21:41:11 -07:00
|
|
|
target: $DRONE_BRANCH/
|
2014-10-12 13:32:23 -07:00
|
|
|
recursive: true
|
2014-10-14 21:53:39 -07:00
|
|
|
when:
|
|
|
|
owner: drone
|