Browse Source

include amber-cli tests in travis

Herbert Vojčík 9 years ago
parent
commit
bee0997cfb
2 changed files with 5 additions and 2 deletions
  1. 4 1
      .travis.yml
  2. 1 1
      package.json

+ 4 - 1
.travis.yml

@@ -5,5 +5,8 @@ node_js:
 before_install:
   - npm -g install npm@1.x.x
 install:
-  - npm install -g grunt-cli
+  - npm install -g grunt-cli mocha
   - npm install
+  - cd external/amber_cli
+  - npm install
+  - cd ../..

+ 1 - 1
package.json

@@ -26,7 +26,7 @@
     "node": ">=0.8.0"
   },
   "scripts": {
-    "test": "grunt test"
+    "test": "grunt test && cd external && cd amber-cli && npm test && cd .. && cd .."
   },
   "devDependencies": {
     "amber-dev": "^0.2.2",