Browse Source

Only run shellcheck-tests.sh if shellcheck is available.

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

+ 1 - 1
.travis.yml

@@ -176,7 +176,7 @@ install:
 
 script:
   ## Basic tests
-  - tests/shellcheck-tests.sh
+  - if command -v shellcheck ; then tests/shellcheck-tests.sh; fi
   - tests/unit-tests.sh
   ## Quick smoke test
   - tools/test-network.sh --dry-run