Переглянути джерело

also include weex tests in npm test

Evan You 9 роки тому
батько
коміт
9d3ceba251
2 змінених файлів з 2 додано та 8 видалено
  1. 1 7
      build/ci.sh
  2. 1 1
      package.json

+ 1 - 7
build/ci.sh

@@ -1,11 +1,5 @@
 set -e
-npm run lint
-npm run flow
-npm run test:types
-npm run test:cover
-npm run test:e2e -- --env phantomjs
-npm run test:ssr
-npm run test:weex
+npm test
 
 # report coverage stats for non-PRs
 if [[ -z $CI_PULL_REQUEST ]]; then

+ 1 - 1
package.json

@@ -22,7 +22,7 @@
     "build": "node build/build.js",
     "build:ssr": "npm run build -- vue.runtime.common.js,vue-server-renderer",
     "build:weex": "npm run build -- weex-vue-framework,weex-template-compiler",
-    "test": "npm run lint && flow check && npm run test:types && npm run test:cover && npm run test:e2e -- --env phantomjs && npm run test:ssr",
+    "test": "npm run lint && flow check && npm run test:types && npm run test:cover && npm run test:e2e -- --env phantomjs && npm run test:ssr && npm run test:weex",
     "test:unit": "karma start build/karma.unit.config.js",
     "test:cover": "karma start build/karma.cover.config.js",
     "test:e2e": "npm run build -- vue.min.js && node test/e2e/runner.js",