[tor-commits] [chutney/master] Only run shellcheck-tests.sh if shellcheck is available.

teor at torproject.org teor at torproject.org
Thu Aug 1 06:41:20 UTC 2019


commit e369c8fe0a297f38a7e35d56d982d576922ba5d9
Author: Alexander Færøy <ahf at torproject.org>
Date:   Fri Jun 21 14:51:23 2019 +0200

    Only run shellcheck-tests.sh if shellcheck is available.
    
    See: https://bugs.torproject.org/30928
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 26f8cb3..ba64fd1 100644
--- a/.travis.yml
+++ b/.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



More information about the tor-commits mailing list