mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-10 11:09:35 +00:00
25 lines
No EOL
516 B
YAML
25 lines
No EOL
516 B
YAML
image: mischief/docker-golang
|
|
env:
|
|
- GOROOT=/usr/local/go
|
|
- GOPATH=/var/cache/drone
|
|
- PATH=$GOPATH/bin:$GOPATH/bin:$PATH
|
|
script:
|
|
- apt-get -y install libsqlite3-dev sqlite3 mercurial bzr 1> /dev/null 2> /dev/null
|
|
- make deps
|
|
- 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: /tmp/drone.deb
|
|
target: latest/ |