1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

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.
This commit is contained in:
Evgeny Vereshchagin 2018-12-09 10:29:25 +01:00
parent ee6776b41a
commit f413cd0a6a

View File

@ -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"