Skip to content

Commit 8785b79

Browse files
committed
adjust ci script
1 parent 22a4d77 commit 8785b79

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/ci.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
set -e
2-
npm run ci
2+
npm run lint
3+
npm run flow
4+
npm run test:cover
5+
npm run test:e2e -- --env phantomjs
6+
npm run test:ssr
37
if [ -z "$CI_PULL_REQUEST" ]; then
48
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
9+
npm run test:sauce
510
fi

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"dev:compiler": "webpack --watch --config build/webpack.compiler.dev.config.js",
1717
"build": "NODE_ENV=production node build/build.js",
1818
"build:ssr": "npm run build -- vue.common.js,vue-template-compiler,vue-server-renderer",
19-
"ci": "npm run lint && flow check && npm run test:cover && npm run test:ssr",
2019
"test": "npm run lint && flow check && npm run test:cover && npm run test:unit && npm run test:e2e && npm run test:ssr",
2120
"test:unit": "NODE_ENV=development karma start build/karma.unit.config.js",
2221
"test:cover": "NODE_ENV=development karma start build/karma.cover.config.js",

0 commit comments

Comments
 (0)