15 lines
265 B
Bash
Raw Normal View History

#!/bin/bash
set -e
set -x
if [[ "$(uname -s)" == "Darwin" ]]; then
2016-04-11 01:52:49 +01:00
PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi
2016-04-11 01:52:49 +01:00
# tox script may not be in the $PATH if we installed as --user
# so we run it as module
python -m tox