github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/ci/cli/tasks/lint.yml (about)

     1  ---
     2  platform: linux
     3  image: docker:///cloudfoundry/cli-ci
     4  
     5  inputs:
     6  - name: cli
     7    path: gopath/src/code.cloudfoundry.org/cli
     8  
     9  params:
    10    LINT_SLOW: true
    11    LINT_DEADLINE: 30s
    12    LINT_SLOW_DEADLINE: 5m
    13  
    14  run:
    15    path: bash
    16    args:
    17    - -c
    18    - |
    19      set -ex
    20  
    21      export GOPATH=$PWD/gopath
    22      export PATH=$GOPATH/bin:$PATH
    23  
    24      pushd $GOPATH/src/code.cloudfoundry.org/cli
    25        bin/lint
    26      popd