From 0da93f9a7d9d4910326ecdedfa4a2446f281efba Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 23 Sep 2019 10:52:13 +0200 Subject: [PATCH] travis: test bash script syntax with macOS's bash version !676 --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index c9cb33eb..2b6c5703 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,7 +82,12 @@ install: # The OSX tests seem to run slower, they often timeout. So only run # the test suite with the installed version of fdroid. +# +# macOS sticks with bash 3.x because of licenses, so avoid use new bash syntax script: + - /bin/bash --version + - /bin/bash -n gradlew-fdroid tests/run-tests + - ./tests/run-tests after_failure: