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:
- shellcheck
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck; fi
#before_install:
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install shellcheck; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then then curl -sSL $SHFMT_URL -o ~/shfmt ; fi