浏览代码

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

for some reason installing grunt globally caused travis test to fail.
a01200356 9 年前
父节点
当前提交
a5238ce8d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      .travis.yml

+ 1
- 1
.travis.yml 查看文件

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