diff --git a/scripts/ci/unit_test.sh b/scripts/ci/unit_test.sh index 46cd6c60..b9a7195a 100755 --- a/scripts/ci/unit_test.sh +++ b/scripts/ci/unit_test.sh @@ -1,14 +1,4 @@ #!/bin/sh set -xe -mkdir -p $GOPATH/src/github.com/apache -cd $GOPATH/src/github.com/apache -git clone https://github.com/apache/servicecomb-kie.git -cd $GOPATH/src/github.com/apache/servicecomb-kie/build -bash build_docker.sh -sudo docker-compose -f $GOPATH/src/github.com/apache/servicecomb-kie/deployments/docker/docker-compose.yaml down -sudo docker-compose -f $GOPATH/src/github.com/apache/servicecomb-kie/deployments/docker/docker-compose.yaml up -d - -cd $GOPATH/src/github.com/go-chassis/go-archaius -go test ./... -v -covermode=count -coverprofile=coverage.out -$HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci \ No newline at end of file +go test $(go list ./... | grep -v /pkg/kieclient | grep -v /source/remote/kie) -cover \ No newline at end of file