Skip to content

Commit 9feae98

Browse files
committed
CXX-2332 use Python from toolchain on Ubuntu 14.04 Evergreen hosts
1 parent f331544 commit 9feae98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.mci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ functions:
280280
fi
281281
export CMAKE=${cmake}
282282
283-
if ! python -m virtualenv venv 2>/dev/null; then
283+
if [ "x$(lsb_release -cs)" = "xtrusty" -a -f /opt/mongodbtoolchain/v2/bin/python ]; then
284+
/opt/mongodbtoolchain/v2/bin/python -m virtualenv venv
285+
elif ! python -m virtualenv venv 2>/dev/null; then
284286
/opt/mongodbtoolchain/v3/bin/python3 -m venv venv
285287
fi
286288

0 commit comments

Comments
 (0)