Skip to content

Commit 5504ae5

Browse files
committed
tweak ci script
1 parent 94c7527 commit 5504ae5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build/ci.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ npm run flow
44
npm run test:cover
55
npm run test:e2e -- --env phantomjs
66
npm run test:ssr
7-
if [ -z "$CI_PULL_REQUEST" ]; then
7+
8+
# report coverage stats for non-PRs
9+
if [[ -z $CI_PULL_REQUEST ]]; then
810
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
11+
fi
12+
13+
# run full browser suites on saucelabs for master branch
14+
if [[ $CIRCLE_BRANCH = master ]]; then
915
npm run test:sauce
1016
fi

0 commit comments

Comments
 (0)