Use go mod (#265)

This commit is contained in:
Thomas Pelletier
2019-03-21 17:22:05 -07:00
committed by GitHub
parent 405d48dc28
commit f9070d3b40
5 changed files with 21 additions and 9 deletions
+2 -3
View File
@@ -8,11 +8,10 @@ matrix:
allow_failures:
- go: tip
fast_finish: true
env:
- GO111MODULE=on
script:
- if [ -n "$(go fmt ./...)" ]; then exit 1; fi
- go get github.com/davecgh/go-spew/spew
- go get gopkg.in/yaml.v2
- go get github.com/BurntSushi/toml
- go test github.com/pelletier/go-toml -race -coverprofile=coverage.txt -covermode=atomic
- go test github.com/pelletier/go-toml/cmd/tomljson
- go test github.com/pelletier/go-toml/cmd/tomll