1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

travis: test bash script syntax with macOS's bash version

!676
This commit is contained in:
Hans-Christoph Steiner 2019-09-23 10:52:13 +02:00
parent c1110e0e69
commit 0da93f9a7d
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -82,7 +82,12 @@ install:
# The OSX tests seem to run slower, they often timeout. So only run # The OSX tests seem to run slower, they often timeout. So only run
# the test suite with the installed version of fdroid. # 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: script:
- /bin/bash --version
- /bin/bash -n gradlew-fdroid tests/run-tests
- ./tests/run-tests - ./tests/run-tests
after_failure: after_failure: