mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 03:57:36 +08:00
13 lines
198 B
Bash
13 lines
198 B
Bash
set -e
|
|
if [ -z "$CI_PULL_REQUEST" ]
|
|
then
|
|
npm run lint
|
|
npm run cover
|
|
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
|
|
npm run build
|
|
npm run e2e
|
|
npm run sauce-all
|
|
else
|
|
npm test
|
|
fi
|