From a8a71d88c72fd4fac51a2475a8d97f0080030919 Mon Sep 17 00:00:00 2001 From: Chase Pierce Date: Fri, 3 Jul 2020 10:51:08 -0600 Subject: [PATCH] bringing us to go 1.13, prepping the run --- .travis.yml | 11 +++-------- README.md | 2 +- go.mod | 2 ++ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index a043620..29b2a6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,7 @@ language: go go: - - 1.11.x - - 1.12.x - -env: - global: - - GO111MODULE=on + - 1.13.x before_install: - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin latest @@ -16,8 +11,8 @@ install: - go mod download script: - - go mod tidy && git diff --exit-code; code=$?; git checkout -- .; (exit $code) - - go test -race -cover -coverprofile=coverage.txt -covermode=atomic ./... + - go mod tidy -v + - go test -v -race -cover -coverprofile=coverage.txt -covermode=atomic ./... - golangci-lint run after_success: diff --git a/README.md b/README.md index dcd113b..b975055 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ sure you have the following installed: ### Prerequisites * [Git][git] -* [Go 1.11][golang]+ (with [`GO111MODULE`][modules] enabled) +* [Go 1.13][golang] ### Tooling diff --git a/go.mod b/go.mod index 08e88d6..7bd14d6 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/syntaqx/serve +go 1.13 + require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/stretchr/testify v1.3.0