Merge pull request #15 from matthewpi/travis-fix
Remove dep and use go modules in .travis.yml
This commit is contained in:
commit
f0e37f1e98
11
.travis.yml
11
.travis.yml
|
@ -1,7 +1,12 @@
|
||||||
|
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
|
||||||
|
@ -10,14 +15,10 @@ 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 ./...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user