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

Commit

Permalink
chore(travis): get npm dependencies from npm-bundle-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rodyhaddad committed Jul 16, 2014
1 parent 01387c0 commit 3f5f20f
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.144.68:8000/fetch-tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz

0 comments on commit 3f5f20f

Please sign in to comment.