Skip to content

Commit 758c18f

Browse files
committed
Run shellcheck only on Linux.
1 parent daad07b commit 758c18f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ install:
2525
script:
2626
- mvn package
2727
- ./simpletool js example.js
28-
- shellcheck simpletool
29-
- shellcheck runJsWithCoverage.sh
28+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck simpletool; fi
29+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck runJsWithCoverage.sh; fi

0 commit comments

Comments
 (0)