mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-13 18:06:47 +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.
This commit is contained in:
parent
87262c88f7
commit
562cce1dee
1 changed files with 3 additions and 8 deletions
|
@ -13,11 +13,6 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.venv/bin/activate
|
# do not use fakeroot, but run as root on travis.
|
||||||
|
# avoids the dreaded EISDIR sporadic failures. see #2482.
|
||||||
if [[ "$(uname -s)" == "Darwin" ]]; then
|
sudo bash -c "source ~/.venv/bin/activate ; tox -e $TOXENV -r"
|
||||||
# no fakeroot on OS X
|
|
||||||
sudo tox -e $TOXENV -r
|
|
||||||
else
|
|
||||||
fakeroot -u tox -r
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue