From c8d953380ea1d3677a5e75f3aa505c4c0d06d6b5 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 6 Feb 2020 16:50:30 -0700 Subject: [PATCH 1/2] Remove dep and use go modules in .travis.yml --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0fd2fd6..12204f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,25 @@ +os: linux +dist: xenial language: go go: - 1.9.x +- 1.13.x + +go_import_path: "github.com/pterodactyl/wings" services: - - docker +- docker install: - mkdir -p $GOPATH/bin # Install used tools -- go get github.com/golang/dep/cmd/dep - go get github.com/mitchellh/gox - go get github.com/haya14busa/goverage - go get github.com/schrej/godacov -# Install project dependencies with dep -- dep ensure +- go mod download script: - make cross-build From d0dabb927b69a79c6d92fd0b82cac508b4d9a6c5 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Fri, 7 Feb 2020 17:08:20 -0700 Subject: [PATCH 2/2] Remove "go mod download" and replace 1.9.x with 1.11.x due to missing go modules support --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 12204f0..d5eaed7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ dist: xenial language: go go: -- 1.9.x +- 1.11.x - 1.13.x go_import_path: "github.com/pterodactyl/wings" @@ -19,8 +19,6 @@ install: - go get github.com/haya14busa/goverage - go get github.com/schrej/godacov -- go mod download - script: - make cross-build - goverage -v -coverprofile=coverage.out ./...