Skip to content

Commit

Permalink
Merge pull request #30 from sanctuary-js/davidchambers/shellcheck
Browse files Browse the repository at this point in the history
circle: install ShellCheck directly
  • Loading branch information
davidchambers authored Apr 4, 2019
2 parents 5af201e + 13a4416 commit 2f409b0
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,7 @@ jobs:
parallelism: 1
steps:
- checkout
- restore_cache:
keys:
- cabal-cache-{{ checksum ".circleci/config.yml" }}
- run: sudo apt-get install cabal-install
- run: cabal update
- run: cabal sandbox init
- run: cabal install shellcheck-0.4.7
- save_cache:
key: cabal-cache-{{ checksum ".circleci/config.yml" }}
paths:
- .cabal-sandbox
- run: sudo apt-get update
- run: sudo apt-get install shellcheck
- run: npm install
- run: PATH="$(pwd)/.cabal-sandbox/bin:$PATH" npm test
- run: npm test

0 comments on commit 2f409b0

Please sign in to comment.