15 lines
265 B
Bash
Executable File
15 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [[ "$(uname -s)" == "Darwin" ]]; then
|
|
PYENV_ROOT="$HOME/.pyenv"
|
|
PATH="$PYENV_ROOT/bin:$PATH"
|
|
eval "$(pyenv init -)"
|
|
fi
|
|
|
|
# tox script may not be in the $PATH if we installed as --user
|
|
# so we run it as module
|
|
python -m tox
|