gitee.com/sasukebo/go-micro/v4@v4.7.1/plugins/.travis/tests.sh (about)

     1  #!/bin/bash -e
     2  
     3  mod="github.com/micro/go-plugins"
     4  PKGS=""
     5  for d in $(find * -name 'go.mod'); do
     6    pushd $(dirname $d) >/dev/null
     7    go mod download
     8    #go test -race -v ./... || :
     9    go test -v ./...
    10    popd >/dev/null
    11  #  PKGS=" $PKGS ${mod}/$(dirname $d)/v2"
    12  done
    13  
    14  #go test -race -v $PKGS || :
    15  #go test -v $PKGS