|
@ -16,9 +16,9 @@ addons: |
|
|
packages: |
|
|
packages: |
|
|
- shellcheck |
|
|
- 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: |
|
|
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 |
|
|