Skip to content

Commit 957c950

Browse files
committed
adds drone build
1 parent 65b0e7f commit 957c950

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

.drone.sec

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.VLIFggo-raucYfR9uE_NZYLxDWbHauChyPHtRIK4huTxgVsDKl-B69TJPQMbHWIHf6wEPZvmJC7A_VoK0bnYQrx5CISa8fG3DRenJTt3vaDvPIAvDfPF7Yaq_P6O8LdgJSzLCe3JmC2jhDn6_--B21mut-v3OcvXrzagilAiiiCIA4LBb8jo_4hJlQS9AhR0JBe31WxmIP9M4CZStUaXWyhqKO70z1IPMTsgLxvIUcqRwNvY6CzD2I54cjW6Z6GdcJ527OUxQCRTi1mCjVmvNue6QhbSUCJ0fTxMM8r6iKTtT04xw1ygzB5NJwGuww4RVC0wqMh6ngCSjs4w-8VgJQ.o8uxd_W13WW9gEnU.THztJZLqbCSKcP-3jPhpYEOUzM9Q7PRRU5XtEOsT6MV0kiDXuGm4_wrXhu9NTPdoxfb_ckBQFzOUncnl-4djqDqHqhWYR7wntxWY2QvxPtSrcbm92f9LPzwMXzePP43ujvsFtk0Epq6Gi2-ykI0FQCJl8qeBiJ6Fy-bJFA37lFE6Jmc55D6SlxWIiobY6ygX1nUWoDBCkoFtEjJH7Cfy3sG7QqFgRny0huh0mHt6l7e5yXELpHDhX4ZDVCZvufZZwlqommng--pHwrNB9uac6h_Iyck7Qsjl4q_PLWZLlaQPFVpU6g0ER7Lg-uy89Ui4JIfDzHKsw6qt2tl1CVhTWo04_exs01jIc_pBpK2mCXa0Giklxo2AU0jnU0pfkBOeU3xqE2yLL4R-De2ZY2LLoltcXWLbdCWGJJEdzXHCLgtyVwy5YzyspFHGyogubOW3-QGZcQujQLZG25y7Ro9_mJW90gO4IhiqfwJVkIWCGvu8vQG2ZdlRUeNEKUpBrNAFcQWOKGqLjVcyf1Dc-HtTw4ZK7trxzZxMowu5CS8g47-NkaKdl0NmrcOQK6yzyRRiG1F1kdCxSCGBw9atV81VbAa6oWty3lQEvSSeYObFawY0xGr37ESPr5O5LB4ucmHpazs.5MB2wLlYMlbYujD1IgAyAg

.drone.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
clone:
2+
path: github.com/go-openapi/strfmt
3+
4+
matrix:
5+
GO_VERSION:
6+
- "1.6"
7+
8+
build:
9+
integration:
10+
image: golang:$$GO_VERSION
11+
pull: true
12+
commands:
13+
- go get -u github.com/stretchr/testify/assert
14+
- go get -u github.com/nu7hatch/gouuid
15+
- go get -u github.com/asaskevich/govalidator
16+
- go get -u github.com/go-openapi/errors
17+
- go test -race
18+
- go test -v -cover -coverprofile=coverage.out -covermode=count ./...
19+
20+
notify:
21+
slack:
22+
channel: bots
23+
webhook_url: $$SLACK_URL
24+
username: drone
25+
26+
publish:
27+
coverage:
28+
server: https://coverage.vmware.run
29+
token: $$GITHUB_TOKEN
30+
# threshold: 70
31+
# must_increase: true
32+
when:
33+
matrix:
34+
GO_VERSION: "1.6"

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
secrets.yml
2+
coverage.out

format.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"strings"
2121
"sync"
2222

23-
"github.com/go-swagger/go-swagger/errors"
23+
"github.com/go-openapi/errors"
2424
)
2525

2626
// Default is the default formats registry

0 commit comments

Comments
 (0)