From 562cce1dee610b8c26a0d8d42a3f9df5adf96503 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 13 Nov 2018 23:03:45 +0100 Subject: [PATCH] stop using fakeroot on travis, avoids #2482 on osx, we already ran the tests w/o fakeroot, directly as root. do the same for linux. --- .travis/run.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis/run.sh b/.travis/run.sh index 7c1e847c1..91f6f7663 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -13,11 +13,6 @@ if [[ "$(uname -s)" == "Darwin" ]]; then fi fi -source ~/.venv/bin/activate - -if [[ "$(uname -s)" == "Darwin" ]]; then - # no fakeroot on OS X - sudo tox -e $TOXENV -r -else - fakeroot -u tox -r -fi +# do not use fakeroot, but run as root on travis. +# avoids the dreaded EISDIR sporadic failures. see #2482. +sudo bash -c "source ~/.venv/bin/activate ; tox -e $TOXENV -r"