Merge pull request #15 from matthewpi/travis-fix

Remove dep and use go modules in .travis.yml
This commit is contained in:
Dane Everitt 2020-02-08 13:30:08 -08:00 committed by GitHub
commit f0e37f1e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,24 @@
os: linux
dist: xenial
language: go language: go
go: go:
- 1.9.x - 1.11.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
- dep ensure
script: script:
- make cross-build - make cross-build
- goverage -v -coverprofile=coverage.out ./... - goverage -v -coverprofile=coverage.out ./...