github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+incompatible/ci/cli/tasks/units-linux.yml (about) 1 --- 2 platform: linux 3 4 image_resource: 5 type: docker-image 6 source: 7 repository: cfcli/cli-base 8 9 inputs: 10 - name: cli 11 path: gopath/src/code.cloudfoundry.org/cli 12 13 run: 14 path: bash 15 args: 16 - -c 17 - | 18 set -e 19 20 export GOPATH=$PWD/gopath 21 export PATH=$GOPATH/bin:$PATH 22 23 cd $GOPATH/src/code.cloudfoundry.org/cli 24 25 export LC_ALL="en_US.UTF-8" 26 27 go version 28 29 go get -u github.com/onsi/ginkgo/ginkgo 30 ginkgo version 31 32 echo -e "\n Vetting packages for potential issues..." 33 go tool vet -all -shadow=true ./api ./actor ./command ./integration ./types ./util ./version 34 CF_HOME=$(pwd)/fixtures ginkgo -r -randomizeAllSpecs -randomizeSuites -race -skipPackage integration,cf/ssh 35 CF_HOME=$(pwd)/fixtures ginkgo -r -randomizeAllSpecs -randomizeSuites -race -flakeAttempts 3 cf/ssh