8000 minor #10142 [Tests] Added travis_retry to .travis.yml (lavoiesl) · symfony/symfony@d4a78fe · GitHub
[go: up one dir, main page]

Skip to content

Commit d4a78fe

Browse files
committed
minor #10142 [Tests] Added travis_retry to .travis.yml (lavoiesl)
This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10142). Discussion ---------- [Tests] Added travis_retry to .travis.yml | Q | A | ------------- | --- | Bug fix? | - | New feature? | - | BC breaks? | - | Deprecations? | - | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - As stated on their [blog](http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/), this is the recommended way. Example of a failed build because of it: https://travis-ci.org/symfony/symfony/jobs/17664775 Commits ------- 702432a Added travis_retry to .travis.yml
2 parents cc5f606 + 6db5014 commit d4a78fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15, 6422 7 @@ matrix:
1515
services: mongodb
1616

1717
before_script:
18-
- sudo apt-get install parallel
18+
- travis_retry sudo apt-get install parallel
1919
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini; fi;'
2020
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
2121
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'

0 commit comments

Comments
 (0)
0