travis: disable windows, update import path config, and only run goveralls on linux (#115)

This commit is contained in:
Robert van Gent
2019-02-05 16:08:41 -08:00
committed by GitHub
parent bee5b6c7c7
commit b1113bfdf1
2 changed files with 42 additions and 5 deletions

View File

@@ -15,10 +15,9 @@
os:
- linux
- osx
- windows
language: go
go_import_path: github.com/google/go-cloud
go_import_path: github.com/google/wire
go: "1.11.x"
before_install:
@@ -37,11 +36,12 @@ install:
- "git config --global core.autocrlf input"
- "git checkout -- ."
- "go install ./cmd/wire"
- "go install github.com/mattn/goveralls"
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
go install github.com/mattn/goveralls;
fi
script:
- 'go test -race -coverpkg=./... -coverprofile=coverage.out ./...'
- 'goveralls -coverprofile=coverage.out -service=travis-ci'
- 'internal/runtests.sh'
env:
global: