Skip to content

Commit 8ebbe22

Browse files
committed
add .drone.yml
1 parent ff0ac0d commit 8ebbe22

File tree

5 files changed

+36
-2
lines changed

5 files changed

+36
-2
lines changed

.drone.sec

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.GmcNGdvtZMaHemX-3WLqJSENgDFV81b9z2Ltrt1D77SGXwrTUhfwEASC2Cce3jjSgVPjHt2ivJq-58alX746PzxxXJqeiNcVifd9kslgqHpzgRQzmBg-i_4BzuWdfbkvmarqgKoYjJiKdpgyAGUMV1yNZcv9urLAatC-OGIpICvFf2CRrEXTzxUMuiS55-98ngNuyONKViqkYRMnGm0B4zQoulj8tO093rhvvbkYDrfBNETacsvFE2Qaja2nIvCeQFtpPuKP9DPK6KDaKURJBmfeMhdpNwi0xrvPSre98xum7IctDzXfZqZBj9okr3t4QIt98BacS-4mqr2B0nDKyQ.fPZPdUdf7G2YGvsO.neNh2mSOjqxWSD3QcOJLKdmGbUrjlvx3uM4wWqQcDSMSCTWKiBNH6Vp3f33LZkj7VrYxflJIZZ5no_FWxJHDjm1K_JchSanqpRE_x2zxtjui3RfWcrOTIGTrWiwh2BDTcc0c83VeGfz5yWF-l_bJPRPh-eJ6nI4Y1tblGyrHxTHs0RqBQOfkUM82pAV86S2PkezKasQziYsRLZT93yohBEp0PayG8kp0Rx8SnxeGd-oPGW6u4yQUu3VFFoSTTO3UeRlyCvlI1DfKh3CDwQCgw-KvQDFCBjKDI7SMIWn-io1eIu5yRejhL_AYce1rzB7A-wAzMPciMExntoAJoJ7gzj6cPTrAsiFMoOi5SMgRDU88BifoMxM_XX1JwAXxn3LcDUmhIn-34sDO-znpBdA3YHC5apuLkw_4j20aq4Ou4y7px2xbNxS4v0Z7TLiS1-J3uhLY83ZRsD4fqITqVWtPr2eoqfQwdJc63pkCIdXuzfa_hDGD0BiPnoN3v68sA_2Oz0k3XdJs0N4TaN_0zcxMtiZw9HjeG2XDP8DSP04PSiF1s29UmfwJ5l6lBHKnhIxKcrtVGknPPGPLmxJVN30A1zhGvKXrZM36SPZAAPfHGOwTNj6x7cM3XVOPB5U5MsfxAtI.uVfVC003ir9y-j8ZMDPgIA

.drone.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
clone:
2+
path: github.com/go-openapi/jsonpointer
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/go-openapi/jsonpointer
15+
- go test -race
16+
- go test -v -cover -coverprofile=coverage.out -covermode=count ./...
17+
18+
notify:
19+
slack:
20+
channel: bots
21+
webhook_url: $$SLACK_URL
22+
username: drone
23+
24+
publish:
25+
coverage:
26+
server: https://coverage.vmware.run
27+
token: $$GITHUB_TOKEN
28+
# threshold: 70
29+
# must_increase: true
30+
when:
31+
matrix:
32+
GO_VERSION: "1.6"

.gitignore

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

reference.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"strings"
3232

3333
"github.com/PuerkitoBio/purell"
34-
"github.com/go-swagger/go-swagger/jsonpointer"
34+
"github.com/go-openapi/jsonpointer"
3535
)
3636

3737
const (

reference_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ package jsonreference
2828
import (
2929
"testing"
3030

31-
"github.com/go-swagger/go-swagger/jsonpointer"
31+
"github.com/go-openapi/jsonpointer"
3232
"github.com/stretchr/testify/assert"
3333
)
3434

0 commit comments

Comments
 (0)