harness-drone/.drone.yml

37 lines
734 B
YAML
Raw Normal View History

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
env:
- GOROOT=/usr/local/go
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
2014-02-07 10:10:01 +00:00
script:
2014-10-12 16:22:51 +00: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 22:04:28 +00:00
- make deps
2014-02-07 10:10:01 +00:00
- make test
- make test_postgres
- make test_mysql
2014-10-12 16:22:51 +00:00
- make packages
services:
- postgres
- mysql
2014-02-07 10:10:01 +00:00
notify:
gitter:
room_id: 76f5e5ec935c5b40259a
token: $$GITTER_KEY
on_started: false
on_success: false
on_failure: false
2014-02-07 10:38:06 +00:00
publish:
s3:
acl: public-read
region: us-east-1
bucket: downloads.drone.io
access_key: $$AWS_KEY
secret_key: $$AWS_SECRET
source: packaging/output/
2014-09-10 04:41:11 +00:00
target: $DRONE_BRANCH/
recursive: true