Browse Source

Debugging test failing on travis

Gaël Métais 10 năm trước cách đây
mục cha
commit
bdb15a7780
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 2 1
      .travis.yml
  2. 1 1
      package.json

+ 2 - 1
.travis.yml

@@ -2,7 +2,8 @@ language: node_js
 node_js:
 node_js:
     - "0.10.33"
     - "0.10.33"
 before_install:
 before_install:
-    - "npm install -g npm@2.10.0"
+    - sudo apt-get install build-essential
+    - "npm install -g npm@2.9.0"
     - "npm install -g grunt-cli"
     - "npm install -g grunt-cli"
 install:
 install:
     - "npm install"
     - "npm install"

+ 1 - 1
package.json

@@ -58,6 +58,6 @@
     "sinon-chai": "^2.7.0"
     "sinon-chai": "^2.7.0"
   },
   },
   "scripts": {
   "scripts": {
-    "test": "DEBUG=ylt:imageOptimizer grunt test"
+    "test": "grunt test"
   }
   }
 }
 }