woodpecker/.drone.yml
Nurahmadie d61e1d7df7 Update Makefile and .drone.yml
Use better versioning when build and make use
godep to link drone with vendored dependencies.
2014-04-10 18:33:54 +00:00

25 lines
534 B
YAML

image: go1.2
env:
- GOROOT=/usr/local/go
- GOPATH=$PWD/Godeps/_workspace:/var/cache/drone
- PATH=$PWD/Godeps/_workspace/bin:/var/cache/drone/bin:$PATH
script:
- sudo apt-get -y install libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null
- make build-dist
- make test
- make dpkg
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: deb/drone.deb
target: latest/