diff --git a/.travis/build.sh b/.travis/build.sh index 71271aeb3d77..0d1f367ea777 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -4,6 +4,7 @@ set -o errexit export CFLAGS="-Werror" +make -j 2 make unit-tests $HOME/gopath/bin/goveralls -coverprofile=coverage-all.out -service=travis-ci || true diff --git a/.travis/prepare.sh b/.travis/prepare.sh index 9fca1ee8a3e9..ee54e6a541c7 100755 --- a/.travis/prepare.sh +++ b/.travis/prepare.sh @@ -48,3 +48,4 @@ export PATH="/usr/local/clang/bin:$PATH" # disable go modules to avoid downloading all dependencies when doing go get GO111MODULE=off go get golang.org/x/tools/cmd/cover GO111MODULE=off go get github.com/mattn/goveralls +GO111MODULE=off go get github.com/gordonklaus/ineffassign