|
|
@ -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 |
|
|
|