forked from harness/harness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
41 lines (40 loc) · 801 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
image: go1.3
git:
path: github.com/drone/drone
env:
- GOROOT=/usr/local/go
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
script:
- sudo apt-get -y install zip libsqlite3-dev sqlite3 rpm 1> /dev/null 2> /dev/null
- gem install fpm
- rbenv rehash
- make deps
- make test
- make test_postgres
- make test_mysql
- make packages
services:
- postgres
- mysql
notify:
email:
recipients:
- brad@drone.io
gitter:
room_id: $$GITTER_ROOM
token: $$GITTER_KEY
on_started: false
on_success: true
on_failure: true
publish:
s3:
acl: public-read
region: us-east-1
bucket: downloads.drone.io
access_key: $$AWS_KEY
secret_key: $$AWS_SECRET
source: packaging/output/
target: $DRONE_BRANCH/
recursive: true
when:
owner: drone