Browse Source

Only try to run shellcheck --version if it's available.

See: https://bugs.torproject.org/30928
Alexander Færøy 4 years ago
parent
commit
c7d42e9819
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -168,7 +168,7 @@ install:
   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then dpkg-query --show; fi
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list --versions; fi
   - python --version
-  - shellcheck --version
+  - if command -v shellcheck ; then shellcheck --version; fi
   - tor --version
 
 script: