mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 04:57:40 +08:00
17 lines
358 B
Bash
17 lines
358 B
Bash
set -e
|
|
npm run lint
|
|
npm run flow
|
|
npm run test:cover
|
|
npm run test:e2e -- --env phantomjs
|
|
npm run test:ssr
|
|
|
|
# report coverage stats for non-PRs
|
|
if [[ -z $CI_PULL_REQUEST ]]; then
|
|
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
|
|
fi
|
|
|
|
# run full browser suites on saucelabs for master branch
|
|
if [[ $CIRCLE_BRANCH = master ]]; then
|
|
npm run test:sauce
|
|
fi
|