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

Commit 8881606

Browse files
committed
chore(travis): get npm dependencies from npm-bundle-deps
1 parent 7e6e0d6 commit 8881606

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ install:
2424
- npm config set spin false
2525
# Log HTTP requests
2626
- npm config set loglevel http
27-
# Run npm install twice, because it is flaky.
28-
- npm install || npm install
27+
- time ./scripts/travis/fetch_bundle.sh
28+
- time npm install
2929

3030
before_script:
3131
- mkdir -p $LOGS_DIR

scripts/travis/fetch_bundle.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
# normalize the working dir to the directory of the script
6+
cd $(dirname $0);
7+
8+
cd ../..
9+
curl "http://23.251.144.68:8000/fetch-tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz

0 commit comments

Comments
 (0)