react/scripts/circleci/test_coverage.sh
2016-12-13 14:27:25 -08:00

9 lines
156 B
Bash
Executable File

#!/bin/bash
set -e
./node_modules/.bin/grunt jest:coverage
if [ -z $CI_PULL_REQUEST ]; then
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
fi