Update Travis CI part in README.md

This commit is contained in:
Peter Dave Hello 2018-02-20 04:52:12 +08:00
parent 6d257bfa17
commit b311563421
1 changed files with 3 additions and 14 deletions

View File

@ -25,7 +25,7 @@ See [the gallery of bad code](README.md#user-content-gallery-of-bad-code) for ex
- [In your editor](#in-your-editor) - [In your editor](#in-your-editor)
- [In your build or test suites](#in-your-build-or-test-suites) - [In your build or test suites](#in-your-build-or-test-suites)
- [Installing](#installing) - [Installing](#installing)
- [Travis CI Setup](#travis-ci-setup) - [Travis CI](#travis-ci)
- [Compiling from source](#compiling-from-source) - [Compiling from source](#compiling-from-source)
- [Installing Cabal](#installing-cabal) - [Installing Cabal](#installing-cabal)
- [Compiling ShellCheck](#compiling-shellcheck) - [Compiling ShellCheck](#compiling-shellcheck)
@ -157,20 +157,9 @@ Alternatively, get freshly built binaries for the latest commit here:
or see the [storage bucket listing](https://shellcheck.storage.googleapis.com/index.html) for checksums and release builds. or see the [storage bucket listing](https://shellcheck.storage.googleapis.com/index.html) for checksums and release builds.
## Travis CI Setup ## Travis CI
If you want to use ShellCheck in Travis CI, you can most easily install it via `apt`:
```yml
language: bash
addons:
apt:
sources:
- debian-sid # Grab ShellCheck from the Debian repo
packages:
- shellcheck
```
Travis CI now integrated ShellCheck by default, you don't need to manually install it.
## Compiling from source ## Compiling from source