vue/build/ci.sh
2017-03-08 15:59:36 +08:00

8 lines
148 B
Bash

set -e
npm test
# report coverage stats for non-PRs
if [[ -z $CI_PULL_REQUEST ]]; then
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
fi