dependencies:
  cache_directories:
    - "~/.cabal"
    - "~/shellcheck"

  pre:
    - sudo apt-get install cabal-install
    - cabal update
    - git clone https://github.com/koalaman/shellcheck && cd shellcheck && cabal install

test:
  override:
    - ~/.cabal/bin/shellcheck -e SC1091 -x aursec/bin/*


dependencies:
  cache_directories:
    - "~/.cabal"
    - "~/shellcheck"

  pre:
    - sudo apt-get install cabal-install
    - cabal update
    - git clone https://github.com/koalaman/shellcheck && cd shellcheck && cabal install

test:
  override:
    - mkdir -p $CIRCLE_TEST_REPORTS/shellcheck
    - ~/.cabal/bin/shellcheck -e SC1091 -x aursec/bin/*
    - ~/.cabal/bin/shellcheck -e SC1091 -xf checkstyle aursec/bin/* > $CIRCLE_TEST_REPORTS/shellcheck/check.xml


Improve shellcheck output in CI
Improve shellcheck output in CI
