]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
travis: mount tmpfs on /tmp before running the tests 11095/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Sun, 9 Dec 2018 09:29:25 +0000 (10:29 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sun, 9 Dec 2018 10:46:23 +0000 (11:46 +0100)
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.

travis-ci/managers/debian.sh

index 976e926c8263be7ff10a28be8482e94bf5a9a9d1..af2f0dab081d18b74e02e3574163a0ba6aa6df28 100755 (executable)
@@ -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"