2015-08-07 13:17:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
if [[ "$(uname -s)" == "Darwin" ]]; then
|
|
|
|
eval "$(pyenv init -)"
|
2019-03-13 12:45:19 +00:00
|
|
|
# set our flags to use homebrew openssl
|
|
|
|
export ARCHFLAGS="-arch x86_64"
|
2019-04-06 23:32:08 +00:00
|
|
|
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig:$PKG_CONFIG_PATH"
|
2015-08-07 13:17:07 +00:00
|
|
|
fi
|
|
|
|
|
2018-11-13 22:03:45 +00:00
|
|
|
# do not use fakeroot, but run as root on travis.
|
|
|
|
# avoids the dreaded EISDIR sporadic failures. see #2482.
|
2019-03-13 12:45:19 +00:00
|
|
|
sudo -E bash -c "source ~/.venv/bin/activate ; tox -e $TOXENV -r"
|