瀏覽代碼

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

See: https://bugs.torproject.org/30928
Alexander Færøy 5 年之前
父節點
當前提交
e369c8fe0a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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