Commit 002f20cc authored by bojanz's avatar bojanz

Use travis_retry to get around Composer timeouts.

parent d03179eb
......@@ -20,8 +20,8 @@ install:
# Install latest Drush 7.
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- composer self-update
- composer global require --no-interaction --prefer-source drush/drush:dev-master
- travis_retry composer self-update
- travis_retry composer global require --no-interaction --prefer-source drush/drush:dev-master
# Make sure we don't fail when checking out projects
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
......@@ -73,7 +73,7 @@ before_script:
- cd core
- rm -rf vendor
- composer drupal-rebuild
- composer update --prefer-source -n --verbose
- travis_retry composer update --prefer-source -n --verbose
- cd ..
- drush en -y commerce commerce_product commerce_order
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment