Skip to content

Commit b247655

Browse files
authored
Switch to Go modules (#26)
1 parent 5f08d2f commit b247655

35 files changed

+26
-8385
lines changed

β€Ž.circleci/config.ymlβ€Ž

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@ version: 2.1
22
jobs:
33
lint:
44
docker:
5-
- image: circleci/golang:1.11.5
5+
- image: circleci/golang:1.12.9
66
working_directory: /go/src/github.com/joshdk/go-junit
7+
environment:
8+
GO111MODULE: "on"
79
steps:
810
- checkout
911
- run:
1012
name: Install tools
13+
working_directory: /tmp
1114
command: go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
1215
- run:
1316
name: Lint Go code
1417
command: golangci-lint run
1518

1619
test:
1720
docker:
18-
- image: circleci/golang:1.11.5
21+
- image: circleci/golang:1.12.9
1922
working_directory: /go/src/github.com/joshdk/go-junit
23+
environment:
24+
GO111MODULE: "on"
2025
steps:
2126
- checkout
2227
- run:
2328
name: Install tools
29+
working_directory: /tmp
2430
command: go get -u github.com/jstemmer/go-junit-report
2531
- run:
2632
name: Test Go code

β€Ž.gitignoreβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
test-results/
2+
vendor/

β€Ž.gometalinter.jsonβ€Ž

Lines changed: 0 additions & 30 deletions
This file was deleted.

β€ŽGopkg.lockβ€Ž

Lines changed: 0 additions & 39 deletions
This file was deleted.

β€ŽGopkg.tomlβ€Ž

Lines changed: 0 additions & 7 deletions
This file was deleted.

β€Žgo.modβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/joshdk/go-junit
2+
3+
go 1.12
4+
5+
require github.com/stretchr/testify v1.4.0

β€Žgo.sumβ€Ž

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
2+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
4+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5+
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
6+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
7+
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
8+
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
9+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
10+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
11+
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
12+
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

β€Žvendor/github.com/davecgh/go-spew/LICENSEβ€Ž

Lines changed: 0 additions & 15 deletions
This file was deleted.

β€Žvendor/github.com/davecgh/go-spew/spew/bypass.goβ€Ž

Lines changed: 0 additions & 152 deletions
This file was deleted.

β€Žvendor/github.com/davecgh/go-spew/spew/bypasssafe.goβ€Ž

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
Β (0)