10c97e5c61
Vendored go.rice manually as a submodule. This is so that Godep picks up its dependencies as well, so that the entirety of Drone's dependencies are vendored in, and Drone can be built without an internet connection.
24 lines
523 B
YAML
24 lines
523 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
|
|
- 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/
|