mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-13 01:45:56 +00:00
15 lines
437 B
Bash
Executable file
15 lines
437 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [[ "$(uname -s)" == "Darwin" ]]; then
|
|
eval "$(pyenv init -)"
|
|
# set our flags to use homebrew openssl
|
|
export ARCHFLAGS="-arch x86_64"
|
|
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
fi
|
|
|
|
# do not use fakeroot, but run as root on travis.
|
|
# avoids the dreaded EISDIR sporadic failures. see #2482.
|
|
sudo -E bash -c "source ~/.venv/bin/activate ; tox -e $TOXENV -r"
|