mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 09:47:58 +00:00
562cce1dee
on osx, we already ran the tests w/o fakeroot, directly as root. do the same for linux.
18 lines
520 B
Bash
Executable file
18 lines
520 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [[ "$(uname -s)" == "Darwin" ]]; then
|
|
eval "$(pyenv init -)"
|
|
if [[ "${OPENSSL}" != "0.9.8" ]]; then
|
|
# set our flags to use homebrew openssl
|
|
export ARCHFLAGS="-arch x86_64"
|
|
export LDFLAGS="-L/usr/local/opt/openssl/lib"
|
|
export CFLAGS="-I/usr/local/opt/openssl/include"
|
|
fi
|
|
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"
|