From 548fa5629c5bd4c85afad678f4c74ed3d339347a Mon Sep 17 00:00:00 2001 From: shunsuke maeda Date: Sat, 8 Jun 2019 23:01:32 +0900 Subject: [PATCH] Add integration test --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index b1cf2ab4..151aa52c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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