vue/build/ci.sh
2016-09-27 16:46:08 -04:00

12 lines
253 B
Bash
Executable File

set -e
if [[ -z $CI_PULL_REQUEST ]] && [[ $CIRCLE_BRANCH = master ]]; then
npm run lint
npm run cover
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
npm run build
npm run e2e
npm run sauce #csp only need Chrome/FF
else
npm test
fi