This commit is contained in:
neilpang 2016-11-22 22:06:19 +08:00
parent 1fadae82c7
commit bc18168662

View File

@ -16,9 +16,9 @@ addons:
packages: packages:
- shellcheck - shellcheck
before_install: #before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then brew update ; fi # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck; fi # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck; fi
script: script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then then curl -sSL $SHFMT_URL -o ~/shfmt ; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then then curl -sSL $SHFMT_URL -o ~/shfmt ; fi