We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 851aa64 commit 3c9a291Copy full SHA for 3c9a291
.evergreen/integration-tests.sh
@@ -124,6 +124,12 @@ case "$OS" in
124
PYTHON=python
125
fi
126
127
+ PIP=pip
128
+ if ! $PYTHON -c "import virtualenv" ; then
129
+ PYTHON=python3
130
+ PIP=pip3
131
+ fi
132
+
133
$PYTHON -m virtualenv venv
134
cd venv
135
. bin/activate
@@ -136,7 +142,7 @@ case "$OS" in
136
142
echo "Disabling pip cache"
137
143
PIP_PARAM="--no-cache-dir"
138
144
139
- pip $PIP_PARAM install .
145
+ $PIP $PIP_PARAM install .
140
146
cd ../..
141
147
mongo-orchestration -f orchestration.config -e default --socket-timeout-ms=60000 --bind=127.0.0.1 --enable-majority-read-concern start > $MONGO_ORCHESTRATION_HOME/out.log 2> $MONGO_ORCHESTRATION_HOME/err.log < /dev/null &
148
;;
0 commit comments