From 06b3faa1bf8af440f865322de91a03ecadd04e06 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sun, 20 Dec 2020 19:45:18 +0100 Subject: [PATCH] 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. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index abf3090..b85c588 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)