You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
377 B

9 years ago
set -e
9 years ago
npm run lint
npm run flow
npm run test:types
9 years ago
npm run test:cover
npm run test:e2e -- --env phantomjs
npm run test:ssr
9 years ago
# report coverage stats for non-PRs
if [[ -z $CI_PULL_REQUEST ]]; then
9 years ago
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
9 years ago
fi
# run full browser suites on saucelabs for master branch
if [[ $CIRCLE_BRANCH = master ]]; then
9 years ago
npm run test:sauce
9 years ago
fi