forked from quic-go/quic-go
improve logging on CIs
* make the logging on Travis less verbose * log every test on AppVeyor
This commit is contained in:
@@ -4,17 +4,17 @@ set -e
|
|||||||
|
|
||||||
go get -t ./...
|
go get -t ./...
|
||||||
if [ ${TESTMODE} == "unit" ]; then
|
if [ ${TESTMODE} == "unit" ]; then
|
||||||
ginkgo -r --cover --randomizeAllSpecs --randomizeSuites --trace --progress --skipPackage integrationtests,benchmark
|
ginkgo -r -v -cover -randomizeAllSpecs -randomizeSuites -trace -skipPackage integrationtests,benchmark
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${TESTMODE} == "integration" ]; then
|
if [ ${TESTMODE} == "integration" ]; then
|
||||||
# run benchmark tests
|
# run benchmark tests
|
||||||
ginkgo --randomizeAllSpecs --randomizeSuites --trace --progress benchmark -- -samples=1
|
ginkgo -randomizeAllSpecs -randomizeSuites -trace benchmark -- -samples=1
|
||||||
# run benchmark tests with the Go race detector
|
# run benchmark tests with the Go race detector
|
||||||
# The Go race detector only works on amd64.
|
# The Go race detector only works on amd64.
|
||||||
if [ ${TRAVIS_GOARCH} == 'amd64' ]; then
|
if [ ${TRAVIS_GOARCH} == 'amd64' ]; then
|
||||||
ginkgo --race --randomizeAllSpecs --randomizeSuites --trace --progress benchmark -- -samples=1 -size=10
|
ginkgo -race -randomizeAllSpecs -randomizeSuites -trace benchmark -- -samples=1 -size=10
|
||||||
fi
|
fi
|
||||||
# run integration tests
|
# run integration tests
|
||||||
ginkgo -v -r --randomizeAllSpecs --randomizeSuites --trace --progress integrationtests
|
ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace integrationtests
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ install:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- rm -r integrationtests
|
- rm -r integrationtests
|
||||||
- ginkgo -r --randomizeAllSpecs --randomizeSuites --trace --progress -skipPackage benchmark
|
- ginkgo -r -v -randomizeAllSpecs -randomizeSuites -trace -skipPackage benchmark
|
||||||
- ginkgo --randomizeAllSpecs --randomizeSuites --trace --progress benchmark -- -samples=1
|
- ginkgo -randomizeAllSpecs -randomizeSuites -trace benchmark -- -samples=1
|
||||||
|
|
||||||
test: off
|
test: off
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user