[fix] install npm packages locally on .travis.yml

for some reason installing grunt globally caused travis test to fail.
This commit is contained in:
a01200356 2016-03-21 21:46:37 -06:00
parent 751c9a346e
commit a5238ce8d1

View File

@ -10,7 +10,7 @@ python:
before_install: before_install:
- "export DISPLAY=:99.0" - "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start" - "sh -e /etc/init.d/xvfb start"
- npm install -g less grunt-cli - npm install less grunt-cli
- ( cd searx/static/themes/oscar;npm install; cd - ) - ( cd searx/static/themes/oscar;npm install; cd - )
install: install:
- ./manage.sh update_dev_packages - ./manage.sh update_dev_packages