Browse Source

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

for some reason installing grunt globally caused travis test to fail.
a01200356 9 years ago
parent
commit
a5238ce8d1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .travis.yml

+ 1
- 1
.travis.yml View File

10
 before_install:
10
 before_install:
11
   - "export DISPLAY=:99.0"
11
   - "export DISPLAY=:99.0"
12
   - "sh -e /etc/init.d/xvfb start"
12
   - "sh -e /etc/init.d/xvfb start"
13
-  - npm install -g less grunt-cli
13
+  - npm install less grunt-cli
14
   - ( cd searx/static/themes/oscar;npm install; cd - )
14
   - ( cd searx/static/themes/oscar;npm install; cd - )
15
 install:
15
 install:
16
   - ./manage.sh update_dev_packages
16
   - ./manage.sh update_dev_packages