From b1f4f2e172c7983f63cd82c873ef24c322ed0ba7 Mon Sep 17 00:00:00 2001 From: "steven.chiu" Date: Wed, 13 Mar 2019 14:54:52 +0800 Subject: [PATCH] Test build for travis config modification --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f8a8fe5..8454b71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,12 @@ install: - go get github.com/gomodule/redigo/redis script: - mkdir reports + - ls reports - go get -u github.com/jstemmer/go-junit-report - - go test -v ${PKG_LIST} 2>&1 | go-junit-report > reports/testcase.xml + - go test -v | go-junit-report > reports/testcase.xml + - cat reports/testcase.xml - go test -coverprofile=cover.out && go tool cover -html=cover.out -o reports/coverage.html + - cat reports/coverage.html before_script: - docker-compose -f ci/docker-compose.yml up -d services: