forked from harness/harness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
45 lines (40 loc) · 894 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
image: library/golang:1.4.2
git:
path: github.com/drone/drone
script:
- export GOPATH=/var/cache/drone
- export PATH=$PATH:$GOPATH/bin
- go get golang.org/x/tools/cmd/cover
- go get golang.org/x/tools/cmd/vet
- go get -u github.com/jteeuwen/go-bindata/...
- make bindata deps
- make build
- make test
- make dist
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: dist/drone.deb
target: $DRONE_BRANCH/
when:
owner: drone
# new .drone.yml syntax
clone:
path: github.com/drone/drone
build:
image: golang:1.4.2
commands:
- export GOPATH=/drone
- export PATH=$PATH:$GOPATH/bin
- go get -u github.com/jteeuwen/go-bindata/...
- make bindata deps
- make build
- make test