Fix intermitent bug with npm locks

This commit is contained in:
Maxime Beauchemin 2016-03-27 14:22:28 -07:00
parent 0a8a1eda94
commit 2397645ed4
1 changed files with 3 additions and 1 deletions

View File

@ -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