Skip to content

Commit

Permalink
chore(travis): travis_retry for the rescue
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Mar 4, 2017
1 parent d462a7d commit f892bb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -11,7 +11,10 @@ notifications:
email: false
before_script:
- npm prune
script: npm run $COMMAND

# travis_retry will try up to 3 times to run the script, which usually helps
# with flaky saucelabs connections for the `test:browser:cloud` command
script: travis_retry npm run $COMMAND
after_success:
- if [[ $TRAVIS_BRANCH == 'master' ]]; npm run docs && npm run deploydocs; fi
- npm run semantic-release
Expand Down

0 comments on commit f892bb7

Please sign in to comment.