Merge "add pip install timing"
This commit is contained in:
commit
9e00fef424
@ -80,6 +80,8 @@ function pip_install {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
time_start "pip_install"
|
||||||
|
|
||||||
PIP_UPGRADE=$(trueorfalse False PIP_UPGRADE)
|
PIP_UPGRADE=$(trueorfalse False PIP_UPGRADE)
|
||||||
if [[ "$PIP_UPGRADE" = "True" ]] ; then
|
if [[ "$PIP_UPGRADE" = "True" ]] ; then
|
||||||
upgrade="--upgrade"
|
upgrade="--upgrade"
|
||||||
@ -137,6 +139,8 @@ function pip_install {
|
|||||||
$cmd_pip $upgrade \
|
$cmd_pip $upgrade \
|
||||||
-r $test_req
|
-r $test_req
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
time_stop "pip_install"
|
||||||
}
|
}
|
||||||
|
|
||||||
# get version of a package from global requirements file
|
# get version of a package from global requirements file
|
||||||
|
Loading…
Reference in New Issue
Block a user