Evan You 10 лет назад
Родитель
Сommit
8785b79e2f
2 измененных файлов с 6 добавлено и 2 удалено
  1. 6 1
      build/ci.sh
  2. 0 1
      package.json

+ 6 - 1
build/ci.sh

@@ -1,5 +1,10 @@
 set -e
-npm run ci
+npm run lint
+npm run flow
+npm run test:cover
+npm run test:e2e -- --env phantomjs
+npm run test:ssr
 if [ -z "$CI_PULL_REQUEST" ]; then
   cat ./coverage/lcov.info | ./node_modules/.bin/codecov
+  npm run test:sauce
 fi

+ 0 - 1
package.json

@@ -16,7 +16,6 @@
     "dev:compiler": "webpack --watch --config build/webpack.compiler.dev.config.js",
     "build": "NODE_ENV=production node build/build.js",
     "build:ssr": "npm run build -- vue.common.js,vue-template-compiler,vue-server-renderer",
-    "ci": "npm run lint && flow check && npm run test:cover && npm run test:ssr",
     "test": "npm run lint && flow check && npm run test:cover && npm run test:unit && npm run test:e2e && npm run test:ssr",
     "test:unit": "NODE_ENV=development karma start build/karma.unit.config.js",
     "test:cover": "NODE_ENV=development karma start build/karma.cover.config.js",