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