Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7884c25

Browse files
committed
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.
1 parent c024f28 commit 7884c25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install:
2424
- npm config set spin false
2525
# Log HTTP requests
2626
- npm config set loglevel http
27-
- time ./scripts/travis/fetch_bundle.sh
27+
- time ./scripts/travis/npm-bundle-deps.sh
2828
- time npm install
2929

3030
before_script:

scripts/travis/fetch_bundle.sh scripts/travis/npm-bundle-deps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ set -e
66
cd $(dirname $0);
77

88
cd ../..
9-
curl "http://23.251.148.50:8000/tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz
9+
curl "http://23.251.148.50:8000/tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz || true

0 commit comments

Comments
 (0)