harness-drone/.drone.yml

53 lines
851 B
YAML
Raw Normal View History

2015-08-20 17:48:08 +00:00
image: bradrydzewski/go:1.5
2015-09-01 14:09:07 +00:00
2014-06-12 19:51:55 +00:00
git:
path: github.com/drone/drone
2015-09-01 14:09:07 +00:00
env:
- GOROOT=/usr/local/go
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
2014-02-07 10:10:01 +00:00
script:
2015-09-30 20:17:54 +00:00
- /bin/bash contrib/setup-sqlite.sh 1> /dev/null
- /bin/bash contrib/setup-sassc.sh 1> /dev/null
2015-09-30 01:21:17 +00:00
- make deps
- make
- make test
- make deb
2014-02-07 10:10:01 +00:00
notify:
2014-10-15 04:53:39 +00:00
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
2015-09-30 01:21:17 +00:00
source: contrib/debian/drone.deb
target: $DRONE_BRANCH/
when:
owner: drone
2015-09-01 14:09:07 +00:00
2015-09-30 01:21:17 +00:00
---
clone:
path: github.com/drone/drone
build:
2015-09-30 01:21:17 +00:00
image: golang:1.5
commands:
2015-09-30 01:21:17 +00:00
- apt-get -y -qq update
- apt-get -y -qq install libsqlite3-dev
- make deps
- make gen
- make test
- make build
- make build_static
- make deb