github.com/pquerna/agent@v2.1.8+incompatible/scripts/tests.sh (about) 1 #!/bin/bash 2 set -e 3 4 echo '--- Setting up GOPATH' 5 export GOPATH="$GOPATH:$(pwd)/vendor" 6 echo $GOPATH 7 8 echo '--- Running tests' 9 go list ./... | sed '/vendor/d' | PATH=$TEMPDIR:$PATH xargs -n1 go test