Remove dep and use go modules in .travis.yml

This commit is contained in:
Matthew Penner 2020-02-06 16:50:30 -07:00 committed by GitHub
parent 3f6b0ce44c
commit c8d953380e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,25 @@
os: linux
dist: xenial
language: go language: go
go: go:
- 1.9.x - 1.9.x
- 1.13.x
go_import_path: "github.com/pterodactyl/wings"
services: services:
- docker - docker
install: install:
- mkdir -p $GOPATH/bin - mkdir -p $GOPATH/bin
# Install used tools # Install used tools
- go get github.com/golang/dep/cmd/dep
- go get github.com/mitchellh/gox - go get github.com/mitchellh/gox
- go get github.com/haya14busa/goverage - go get github.com/haya14busa/goverage
- go get github.com/schrej/godacov - go get github.com/schrej/godacov
# Install project dependencies with dep - go mod download
- dep ensure
script: script:
- make cross-build - make cross-build