1
0
mirror of synced 2026-02-27 00:39:51 +00:00

Travis CI: Make sure shell scripts in .travis.yml also work with bash, not just dash and zsh

This commit is contained in:
Axel Beckert
2020-12-20 20:48:17 +01:00
parent 06b3faa1bf
commit 68c20b4e4e

View File

@@ -23,7 +23,7 @@ matrix:
before_install:
- mount
- ls -ld /tmp/
- echo "#!/bin/sh\necho Scripts in /tmp work.\n" > /tmp/test-executable-in-tmp && chmod -c 755 /tmp/test-executable-in-tmp && /tmp/test-executable-in-tmp
- printf '#!/bin/sh\necho Scripts in /tmp work.\n' > /tmp/test-executable-in-tmp && chmod -c 755 /tmp/test-executable-in-tmp && /tmp/test-executable-in-tmp
- sudo apt-get update
- sudo apt-get install devscripts dpkg-dev lsb-release
- eval $(curl https://travis-perl.github.io/init)