Commit 4e8c0be0 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

CI: Make pip retry downloads

parent 69cc68a6
......@@ -12,11 +12,14 @@ fi;
source /test.venv/bin/activate
pip install -r requirements-dev.txt
pip install -r requirements.txt
PIPARGS="--retries 10 --timeout 30"
pip install $PIPARGS -r requirements-dev.txt
pip install $PIPARGS -r requirements.txt
# style stage
if [ "$TEST_STYLE"x != "x" ]; then pip install pylint flake8; fi;
if [ "$TEST_STYLE"x != "x" ]; then pip install $PIPARGS pylint flake8; fi;
if [ "$TEST_STYLE"x != "x" ]; then flake8 fsleyes_widgets || true; fi;
if [ "$TEST_STYLE"x != "x" ]; then pylint --output-format=colorized fsleyes_widgets || true; fi;
if [ "$TEST_STYLE"x != "x" ]; then exit 0; fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment