2014-02-11 22:38:22 +00:00
|
|
|
image: go1.2
|
2014-02-11 22:44:39 +00:00
|
|
|
env:
|
|
|
|
- GOROOT=/usr/local/go
|
|
|
|
- GOPATH=/var/cache/drone
|
|
|
|
- PATH=$GOPATH/bin:$GOPATH/bin:$PATH
|
2014-02-07 10:10:01 +00:00
|
|
|
script:
|
2014-02-11 22:44:39 +00:00
|
|
|
- sudo apt-get -y install libsqlite3-dev sqlite3 mercurial bzr 1> /dev/null 2> /dev/null
|
2014-02-07 10:10:01 +00:00
|
|
|
- make deps
|
|
|
|
- make
|
|
|
|
- make test
|
|
|
|
- make dpkg
|
|
|
|
notify:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- brad@drone.io
|
2014-02-07 10:38:06 +00:00
|
|
|
|
2014-02-07 10:10:01 +00:00
|
|
|
publish:
|
|
|
|
s3:
|
|
|
|
acl: public-read
|
|
|
|
region: us-east-1
|
|
|
|
bucket: downloads.drone.io
|
|
|
|
access_key: $AWS_KEY
|
|
|
|
secret_key: $AWS_SECRET
|
2014-02-11 22:48:16 +00:00
|
|
|
source: deb/drone.deb
|
2014-02-07 10:10:01 +00:00
|
|
|
target: latest/
|