From bcfa64e77c17c3a9e48028d9a18177e76b3e54e3 Mon Sep 17 00:00:00 2001 From: rodyhaddad Date: Fri, 1 Aug 2014 19:02:06 -0700 Subject: [PATCH] chore(travis): rename fetch_bundle script and make it not abort a travis build if it fails This is useful when the npm-bundle-deps server isn't running, when the tar never gets served (there's a default timeout on the request), or when the served file isn't a valid tar. --- .travis.yml | 2 +- scripts/travis/{fetch_bundle.sh => npm-bundle-deps.sh} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename scripts/travis/{fetch_bundle.sh => npm-bundle-deps.sh} (88%) diff --git a/.travis.yml b/.travis.yml index 11cc52ed9..badb74fce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ install: - npm config set spin false # Log HTTP requests - npm config set loglevel http - - time ./scripts/travis/fetch_bundle.sh + - time ./scripts/travis/npm-bundle-deps.sh - time npm install before_script: diff --git a/scripts/travis/fetch_bundle.sh b/scripts/travis/npm-bundle-deps.sh similarity index 88% rename from scripts/travis/fetch_bundle.sh rename to scripts/travis/npm-bundle-deps.sh index c15e56164..5668df6d1 100755 --- a/scripts/travis/fetch_bundle.sh +++ b/scripts/travis/npm-bundle-deps.sh @@ -6,4 +6,4 @@ set -e cd $(dirname $0); cd ../.. -curl "http://23.251.148.50:8000/tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz +curl "http://23.251.148.50:8000/tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz || true