Skip to content

Commit d138b28

Browse files
committed
Try disabling coverage on master to prevent Travis crashes
We suspect that memory overhead caused by coverage might be the reason Travis fails on master. No guarantees it will work but worth a try.
1 parent 5520c39 commit d138b28

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.travis.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,7 @@ script:
6666
$SERVER
6767
fi
6868
elif [ "$TEST_TYPE" = test ]; then
69-
if [ "$TRAVIS_PULL_REQUEST" = false ]; then
70-
set -e
71-
./node_modules/.bin/grunt jest:coverage
72-
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
73-
else
74-
./node_modules/.bin/grunt jest:normal
75-
fi
69+
./node_modules/.bin/grunt jest:normal
7670
echo 'Testing in server-render (HTML generation) mode...'
7771
printf '\nmodule.exports.useCreateElement = false;\n' \
7872
>> src/renderers/dom/shared/ReactDOMFeatureFlags.js

0 commit comments

Comments
 (0)