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