Browse Source

also include weex tests in npm test

dev
Evan You 8 years ago
parent
commit
9d3ceba251
  1. 8
      build/ci.sh
  2. 2
      package.json

8
build/ci.sh

@ -1,11 +1,5 @@
set -e set -e
npm run lint npm test
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
# report coverage stats for non-PRs # report coverage stats for non-PRs
if [[ -z $CI_PULL_REQUEST ]]; then if [[ -z $CI_PULL_REQUEST ]]; then

2
package.json

@ -22,7 +22,7 @@
"build": "node build/build.js", "build": "node build/build.js",
"build:ssr": "npm run build -- vue.runtime.common.js,vue-server-renderer", "build:ssr": "npm run build -- vue.runtime.common.js,vue-server-renderer",
"build:weex": "npm run build -- weex-vue-framework,weex-template-compiler", "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:unit": "karma start build/karma.unit.config.js",
"test:cover": "karma start build/karma.cover.config.js", "test:cover": "karma start build/karma.cover.config.js",
"test:e2e": "npm run build -- vue.min.js && node test/e2e/runner.js", "test:e2e": "npm run build -- vue.min.js && node test/e2e/runner.js",

Loading…
Cancel
Save