ci.sh 395 B

123456789101112131415161718
  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. npm run test:weex
  9. # report coverage stats for non-PRs
  10. if [[ -z $CI_PULL_REQUEST ]]; then
  11. cat ./coverage/lcov.info | ./node_modules/.bin/codecov
  12. fi
  13. # run full browser suites on saucelabs for master branch
  14. if [[ $CIRCLE_BRANCH = master ]]; then
  15. npm run test:sauce
  16. fi