Travis CI before_install: Make sure we can execute scripts in /tmp/
Those build failures with Perl 5.10 seem to neither be related to xen-tools nor to Perl but to how the git repo is unpacked on Travis CI as executable bits are either missing or /tmp/ is mounted with "noexec". So add some code to before_install to 1) output some debug information on that issue and 2) abort early if executing scripts in /tmp/ fails.
This commit is contained in:
parent
0da2ed1365
commit
06b3faa1bf
@ -21,6 +21,9 @@ matrix:
|
||||
- perl: blead
|
||||
|
||||
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
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install devscripts dpkg-dev lsb-release
|
||||
- eval $(curl https://travis-perl.github.io/init)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user