forked from HewlettPackard/oneview-golang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
29 lines (29 loc) · 754 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
#
# ci-cd using drone
# we use secrets project for variables, see http://readme.drone.io/build/secrets.html
#
build:
image: golang:1.6
environment:
- HTTP_PROXY=$$HTTP_PROXY
- HTTPS_PROXY=$$HTTPS_PROXY
- http_proxy=$$http_proxy
- https_proxy=$$https_proxy
- no_proxy=$$no_proxy
- NO_PROXY=$$NO_PROXY
commands:
- go get github.com/golang/lint/golint
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cover
- go get github.com/tools/godep
- go get github.com/aktau/github-release
- make test
- make build
# notify:
# flowdock:
# source: DroneOneView
# token: {{FLOWDOCK_TOKEN}}
# tags: oneview-golang
# on_started: true
# on_success: true
# on_failure: true