1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00

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.

(cherry picked from commit 562cce1dee)
This commit is contained in:
Thomas Waldmann 2018-11-13 23:03:45 +01:00
parent a26f90f9fc
commit 95aa1e77fd

View file

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