Commit e3dc351e authored by Liu Junxiao's avatar Liu Junxiao

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

parent 9eddeaee
...@@ -32,9 +32,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then ...@@ -32,9 +32,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
# Measure that we're using Pipenv. # Measure that we're using Pipenv.
mcount "tool.pipenv" mcount "tool.pipenv"
# Skip pip install, later.
export SKIP_PIP_INSTALL=1
# Set PIP_EXTRA_INDEX_URL # Set PIP_EXTRA_INDEX_URL
if [[ -r $ENV_DIR/PIP_EXTRA_INDEX_URL ]]; then if [[ -r $ENV_DIR/PIP_EXTRA_INDEX_URL ]]; then
PIP_EXTRA_INDEX_URL="$(cat "$ENV_DIR/PIP_EXTRA_INDEX_URL")" PIP_EXTRA_INDEX_URL="$(cat "$ENV_DIR/PIP_EXTRA_INDEX_URL")"
...@@ -65,6 +62,9 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then ...@@ -65,6 +62,9 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
puts-step "Installing test dependencies…" puts-step "Installing test dependencies…"
/app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent /app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
fi fi
# Skip pip install, later.
export SKIP_PIP_INSTALL=1
fi fi
else else
export SKIP_PIP_INSTALL=1 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