mirror of https://github.com/zulip/zulip.git
setup-static-analysis: Add wrapper to retry dependancy installation.
This commit is contained in:
parent
5f74dc86a9
commit
18eeb962fe
|
@ -4,5 +4,13 @@ set -x
|
|||
|
||||
# We only need mypy and the python 3 compatibility checkers in this
|
||||
# build, so we just install those directly, skipping provision.
|
||||
pip install --no-deps -r requirements/mypy.txt
|
||||
pip install --no-deps -r requirements/py3k.txt
|
||||
|
||||
if ! pip install --no-deps -r requirements/mypy.txt; then
|
||||
echo "\`pip install --no-deps -r requirements/mypy.txt\`: Failure occured while trying to perform dependancy installation, Retrying..."
|
||||
pip install --no-deps -r requirements/mypy.txt
|
||||
fi
|
||||
|
||||
if ! pip install --no-deps -r requirements/py3k.txt; then
|
||||
echo "\`pip install --no-deps -r requirements/py3k.txt\`: Failure occured while trying to perform dependancy installation, Retrying..."
|
||||
pip install --no-deps -r requirements/py3k.txt
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue