2015-08-20 19:48:08 +02:00
|
|
|
image: bradrydzewski/go:1.5
|
2014-06-12 22:51:55 +03:00
|
|
|
git:
|
|
|
|
path: github.com/drone/drone
|
2015-06-04 22:39:16 +02:00
|
|
|
env:
|
|
|
|
- GOROOT=/usr/local/go
|
|
|
|
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
|
|
|
|
2014-02-07 13:10:01 +03:00
|
|
|
script:
|
2015-06-04 21:06:20 +02:00
|
|
|
- go get golang.org/x/tools/cmd/cover
|
2015-06-04 21:04:44 +02:00
|
|
|
- go get golang.org/x/tools/cmd/vet
|
2015-04-26 01:46:02 +02:00
|
|
|
- go get -u github.com/jteeuwen/go-bindata/...
|
|
|
|
- make bindata deps
|
2015-07-21 22:18:09 +02:00
|
|
|
- go run make.go build
|
|
|
|
- go run make.go vet test
|
2015-05-26 00:30:22 +02:00
|
|
|
- make dist
|
2015-04-07 10:20:55 +02:00
|
|
|
|
2014-02-07 13:10:01 +03:00
|
|
|
notify:
|
2014-10-15 07:53:39 +03:00
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- brad@drone.io
|
2015-05-09 10:41:24 +02:00
|
|
|
|
2015-05-26 00:27:33 +02:00
|
|
|
publish:
|
|
|
|
s3:
|
|
|
|
acl: public-read
|
|
|
|
region: us-east-1
|
|
|
|
bucket: downloads.drone.io
|
|
|
|
access_key: $$AWS_KEY
|
|
|
|
secret_key: $$AWS_SECRET
|
|
|
|
source: dist/drone.deb
|
|
|
|
target: $DRONE_BRANCH/
|
|
|
|
when:
|
|
|
|
owner: drone
|
|
|
|
|
2015-05-09 10:41:24 +02:00
|
|
|
# new .drone.yml syntax
|
|
|
|
|
|
|
|
clone:
|
|
|
|
path: github.com/drone/drone
|
|
|
|
|
|
|
|
build:
|
2015-08-20 19:31:47 +02:00
|
|
|
image: golang:1.5.0
|
2015-05-09 10:41:24 +02:00
|
|
|
commands:
|
|
|
|
- export GOPATH=/drone
|
|
|
|
- export PATH=$PATH:$GOPATH/bin
|
|
|
|
- go get -u github.com/jteeuwen/go-bindata/...
|
2015-08-20 19:31:47 +02:00
|
|
|
- make deps
|
|
|
|
- make
|
2015-06-04 20:54:39 +02:00
|
|
|
- make test
|
2015-08-20 19:31:47 +02:00
|
|
|
- make dist
|
2015-08-24 20:25:01 +02:00
|
|
|
|
|
|
|
compose:
|
|
|
|
database:
|
|
|
|
image: mysql:5.5
|
|
|
|
environment:
|
|
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
|
|
|
|
- MYSQL_DATABASE=test
|