diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2018-12-09 10:29:25 +0100 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2018-12-09 11:46:23 +0100 |
commit | f413cd0a6af10c08561474a089f8670979c0f786 (patch) | |
tree | 250b33b72b8a1ea89b2793527c7c242149af1477 /travis-ci | |
parent | travis: use systemd as PID1 in debian containers (diff) | |
download | systemd-f413cd0a6af10c08561474a089f8670979c0f786.tar.xz systemd-f413cd0a6af10c08561474a089f8670979c0f786.zip |
travis: mount tmpfs on /tmp before running the tests
To judge from https://api.travis-ci.org/v3/job/465547774/log.txt,
overlayfs on Travis CI is having trouble delivering inotify events,
which is why `test-path` and `test-event` are failing there.
Diffstat (limited to 'travis-ci')
-rwxr-xr-x | travis-ci/managers/debian.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/travis-ci/managers/debian.sh b/travis-ci/managers/debian.sh index 976e926c82..af2f0dab08 100755 --- a/travis-ci/managers/debian.sh +++ b/travis-ci/managers/debian.sh @@ -39,6 +39,9 @@ for phase in "${PHASES[@]}"; do $DOCKER_EXEC apt-get -y update $DOCKER_EXEC apt-get -y build-dep systemd $DOCKER_EXEC apt-get -y install "${ADDITIONAL_DEPS[@]}" + # overlayfs on TravisCI is having trouble delivering inotify events to test-path and test-event. + # Let's use tmpfs instead for now. + $DOCKER_EXEC mount -t tmpfs tmpfs /tmp ;; RUN) info "Run phase" |