woodpecker/.drone.yml
2014-09-30 23:30:42 -07:00

30 lines
579 B
YAML

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 1> /dev/null 2> /dev/null
- make deps
- make test
- make test_postgres
- make test_mysql
- make dpkg
services:
- postgres
- mysql
notify:
email:
recipients:
- brad@drone.io
publish:
s3:
acl: public-read
region: us-east-1
bucket: downloads.drone.io
access_key: $AWS_KEY
secret_key: $AWS_SECRET
source: debian/drone.deb
target: $DRONE_BRANCH/