File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,15 +171,15 @@ install:
171171 else
172172 composer config preferred-install.squizlabs/php_codesniffer auto
173173 fi
174- - composer require squizlabs/php_codesniffer:"${PHPCS_BRANCH}" --no-update --no-suggest --no-scripts
174+ - travis_retry composer require squizlabs/php_codesniffer:"${PHPCS_BRANCH}" --no-update --no-suggest --no-scripts
175175 - |
176176 if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then
177177 # PHPUnit 7.x does not allow for installation on PHP 8, so ignore platform
178178 # requirements to get PHPUnit 7.x to install on nightly.
179- composer install --ignore-platform-reqs --no-suggest
179+ travis_retry composer install --ignore-platform-reqs --no-suggest
180180 else
181181 # Do a normal dev install in all other cases.
182- composer install --no-suggest
182+ travis_retry composer install --no-suggest
183183 fi
184184
185185script :
You can’t perform that action at this time.
0 commit comments