Skip to content

Commit

Permalink
Fix intermitent bug with npm locks
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 27, 2016
1 parent 0a8a1ed commit 2397645
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ python:
cache:
directories:
- $HOME/.wheelhouse/
before_install:
- rm -rf ~/.npm
- mkdir ~/.npm
install:
- pip wheel -w $HOME/.wheelhouse -f $HOME/.wheelhouse -r requirements.txt
- pip install --find-links=$HOME/.wheelhouse --no-index -rrequirements.txt
- python setup.py install
- cd dashed/assets
- "touch $HOME/.npm/foo.lock; rm -f $HOME/.npm/*.lock"
- npm install
- npm run prod
- cd $TRAVIS_BUILD_DIR
Expand Down

0 comments on commit 2397645

Please sign in to comment.