1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-04 16:30:12 +02: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 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: