Commit 8d98c27c authored by Liu Junxiao's avatar Liu Junxiao Committed by jxltom

Revert "Move SKIP_PIP_INSTALL=1 after pip-uninstall step otherwise pip-uninstall will be bypassed"

This reverts commit e3dc351e.
parent e3dc351e
......@@ -32,6 +32,9 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
# Measure that we're using Pipenv.
mcount "tool.pipenv"
# Skip pip install, later.
export SKIP_PIP_INSTALL=1
# Set PIP_EXTRA_INDEX_URL
if [[ -r $ENV_DIR/PIP_EXTRA_INDEX_URL ]]; then
PIP_EXTRA_INDEX_URL="$(cat "$ENV_DIR/PIP_EXTRA_INDEX_URL")"
......@@ -62,9 +65,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
puts-step "Installing test dependencies…"
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
fi
# Skip pip install, later.
export SKIP_PIP_INSTALL=1
fi
else
export SKIP_PIP_INSTALL=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment