enable verbose building of tests and fold the logs
@@ -25,7 +25,9 @@ install:
script:
- bash rungas.sh
- grep -L -r --include *.go --exclude-dir vendor -P "Copyright (\d{4}|\(c\)) Microsoft" ./ | tee /dev/stderr | test -z "$(< /dev/stdin)"
- - go build $(go list ./... | grep -v vendor)
+ - echo -e "travis_fold:start:go.build\033[33;1mBuilding all packages\033[0m"
+ - go build -v $(go list ./... | grep -v vendor)
+ - echo -e "\ntravis_fold:end:go.build\r"
- if [[ $TRAVIS_GO_VERSION == 1.11* ]]; then test -z "$(go fmt $(go list ./... | grep -v vendor) | tee /dev/stderr)"; fi
- go vet $(go list ./... | grep -v vendor)
- go test $(sh ./findTestedPackages.sh)
