Skip to content

Commit 02081ca

Browse files
committed
Use shell-retry to avoid timing issue
The test may be started before test.pypi.org updates it index. Let's try to wait until it is updated. See: https://travis-ci.org/JuliaPy/pyjulia/jobs/523283897#L448
1 parent 44ec8cc commit 02081ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/test-upload/tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ skipsdist = True
44

55
[testenv]
66
deps =
7+
shell-retry == 0.0.8
8+
79
# These are the packages listed in extras_require in setup.py.
810
# Not using `julia[test]` to avoid installing the test
911
# dependencies from `test.pypi.org`:
@@ -13,6 +15,7 @@ deps =
1315
mock
1416

1517
commands =
18+
shell-retry --backoff=2 --interval-max=20 --retry-count=30 --verbose -- \
1619
pip install --index-url https://test.pypi.org/simple/ julia==0.4.1.dev
1720

1821
python -c "from julia import install; install()"

0 commit comments

Comments
 (0)