Skip to content

Instantly share code, notes, and snippets.

@justinvdm
Created December 5, 2016 08:57
Show Gist options
  • Save justinvdm/ac1248d6f03e772313348ba834924225 to your computer and use it in GitHub Desktop.
Save justinvdm/ac1248d6f03e772313348ba834924225 to your computer and use it in GitHub Desktop.
diff --git a/.travis.yml b/.travis.yml
index ed18e77..6647038 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ before_install:
- nvm install 6
- node --version
install:
-- npm install
+- travis_retry npm install
android:
components:
- build-tools-23.0.1
@@ -28,8 +28,8 @@ android:
- extra-google-m2repository
- addon-google_apis-google-16
script:
-- npm run ci
-- '[ -z "$TRAVIS_TAG" ] || ./utils/travis-release.sh'
+- travis_retry npm run ci
+- '[ -z "$TRAVIS_TAG" ] || travis_retry ./utils/travis-release.sh'
deploy:
skip_cleanup: true
provider: releases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment