Skip to content

Commit

Permalink
chore(travis): get npm dependencies from npm-bundle-deps
Browse files Browse the repository at this point in the history
npm-bundle-deps has been rewritten to be more robust
  • Loading branch information
rodyhaddad committed Jul 18, 2014
1 parent aa7dbf0 commit 3d0dcf6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ install:
- npm config set spin false
# Log HTTP requests
- npm config set loglevel http
# Run npm install twice, because it is flaky.
- npm install || npm install
- time ./scripts/travis/fetch_bundle.sh
- time npm install

before_script:
- mkdir -p $LOGS_DIR
Expand Down
9 changes: 9 additions & 0 deletions scripts/travis/fetch_bundle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -e

# normalize the working dir to the directory of the script
cd $(dirname $0);

cd ../..
curl "http://23.251.148.50:8000/tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz

0 comments on commit 3d0dcf6

Please sign in to comment.