Shellcheck: How to install ShellCheck on Travis CI

Created on 29 Jan 2016  路  4Comments  路  Source: koalaman/shellcheck

This isn't a bug, but I just wanted to post this here in case anyone else is looking.

It took me a while to find a way to install on Travis CI, but thanks to this got it working like this:

language: bash

# Use container-based infrastructure for quicker build start-up
sudo: false

addons:
  apt:
    sources:
    - debian-sid    # Grab shellcheck from the Debian repo (o_O)
    packages:
    - shellcheck

script:
 - shellcheck *.sh

matrix:
  fast_finish: true

Thanks!

Most helpful comment

Thanks, I put this in a wiki page!

All 4 comments

Thanks, I put this in a wiki page!

@koalaman I think would be worth noting this in the Install section of the README, even.

@dasilvacontin Send a PR?

823.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

szepeviktor picture szepeviktor  路  4Comments

tdmalone picture tdmalone  路  3Comments

bbarker picture bbarker  路  3Comments

ghost picture ghost  路  4Comments

arth1 picture arth1  路  4Comments