Skip to content

Commit

Permalink
Test build for travis config modification
Browse files Browse the repository at this point in the history
  • Loading branch information
steven.chiu committed Mar 13, 2019
1 parent a44fd71 commit b1f4f2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b1f4f2e

Please sign in to comment.