mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
d61e1d7df7
Use better versioning when build and make use godep to link drone with vendored dependencies.
25 lines
534 B
YAML
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/
|