Skip to content

Commit

Permalink
Add linting using shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbyrnes committed Mar 12, 2019
1 parent 6b69a5e commit dfe255b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ os:
- linux
- osx

env:
- TEST_SHELLS=bash
- TEST_SHELLS=zsh

sudo: required

install:
Expand All @@ -14,5 +10,12 @@ install:
before_script:
- echo -e "test_repo_11\ntest_repo_1" | sort

script:
- ./run_tests.sh
jobs:
include:
- stage: lint
script: shellcheck **/*.sh *.example
- stage: test
script: ./run_tests.sh
env:
- TEST_SHELLS=bash
- TEST_SHELLS=zsh

0 comments on commit dfe255b

Please sign in to comment.