Skip to content

How to install ShellCheck on Travis CI #589

@hugovk

Description

@hugovk

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions