File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,16 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
60
60
# avoid this eager behavior.
61
61
/app/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade --upgrade-strategy only-if-needed & > /dev/null
62
62
63
+ # Install the test dependencies, for CI.
64
+ if [ " $INSTALL_TEST " ]; then
65
+ puts-step " Installing test dependencies…"
66
+ /app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
67
+
63
68
# Install the dependencies.
64
- if [[ ! -f Pipfile.lock ]]; then
69
+ elif [[ ! -f Pipfile.lock ]]; then
65
70
puts-step " Installing dependencies with Pipenv $PIPENV_VERSION …"
66
71
/app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent
72
+
67
73
else
68
74
pipenv-to-pip Pipfile.lock > requirements.txt
69
75
" $BIN_DIR /steps/pip-uninstall"
@@ -73,12 +79,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
73
79
puts-step " Installing dependencies with Pipenv $PIPENV_VERSION …"
74
80
/app/.heroku/python/bin/pipenv install --system --deploy 2>&1 | indent
75
81
fi
76
-
77
- # Install the test dependencies, for CI.
78
- if [ " $INSTALL_TEST " ]; then
79
- puts-step " Installing test dependencies…"
80
- /app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
81
- fi
82
82
fi
83
83
else
84
84
export SKIP_PIP_INSTALL=1
You can’t perform that action at this time.
0 commit comments