Skip to content

Commit

Permalink
Retry up to 3 times, until successful on Travis.
Browse files Browse the repository at this point in the history
robertdebock committed Jul 2, 2020
1 parent d5d4dc9 commit d89ef87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/travis.yml.j2
Original file line number Diff line number Diff line change
@@ -29,9 +29,9 @@ install:

script:
{% 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 %}
- tox
- n=0 ; until [ "$n" = 3 ] ; do tox && break ; n=$((n+1)) ; done
{% endif %}

notifications:

0 comments on commit d89ef87

Please sign in to comment.