github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+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 install ./vendor/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