Explorar o código

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

See: https://bugs.torproject.org/30928
Alexander Færøy %!s(int64=7) %!d(string=hai) anos
pai
achega
c7d42e9819
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: