Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
duck8823 committed Jun 8, 2019
1 parent ad36dab commit 548fa56
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,20 @@ cache:
directories:
- $GOPATH/pkg/mod/cache

services:
- docker

install: true
before_script:
# download dependencies
- go mod download
script:
- go test -coverprofile cover.out $(go list ./... | grep -v mock_)
- |
if [ "$TRAVIS_GO_VERSION" = "1.12.x" ] && [ "$TRAVIS_OS_NAME" = "linux" ] ; then
make build
./duci health
fi
after_success:
# for coverage report
- GO111MODULE=off go get -u github.com/mattn/goveralls
Expand Down

0 comments on commit 548fa56

Please sign in to comment.