Retry up to 3 times, until successful on Travis.

This commit is contained in:
Robert de Bock 2020-07-02 15:18:54 +02:00
parent d5d4dc9240
commit d89ef87e9a
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ install:
script: script:
{% if tox_parallel is defined and tox_parallel %} {% if tox_parallel is defined and tox_parallel %}
- tox --parallel all - n=0 ; until [ "$n" = 3 ] ; do tox --parallel all && break ; n=$((n+1)) ; done
{% else %} {% else %}
- tox - n=0 ; until [ "$n" = 3 ] ; do tox && break ; n=$((n+1)) ; done
{% endif %} {% endif %}
notifications: notifications: