ci.sh 377 B

1234567891011121314151617
  1. set -e
  2. npm run lint
  3. npm run flow
  4. npm run test:types
  5. npm run test:cover
  6. npm run test:e2e -- --env phantomjs
  7. npm run test:ssr
  8. # report coverage stats for non-PRs
  9. if [[ -z $CI_PULL_REQUEST ]]; then
  10. cat ./coverage/lcov.info | ./node_modules/.bin/codecov
  11. fi
  12. # run full browser suites on saucelabs for master branch
  13. if [[ $CIRCLE_BRANCH = master ]]; then
  14. npm run test:sauce
  15. fi