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.
This commit is contained in:
Dan Abramov
2016-03-18 00:14:25 +00:00
parent 5520c399a6
commit d138b286db
+1 -7
View File
@@ -66,13 +66,7 @@ script:
$SERVER
fi
elif [ "$TEST_TYPE" = test ]; then
if [ "$TRAVIS_PULL_REQUEST" = false ]; then
set -e
./node_modules/.bin/grunt jest:coverage
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
else
./node_modules/.bin/grunt jest:normal
fi
./node_modules/.bin/grunt jest:normal
echo 'Testing in server-render (HTML generation) mode...'
printf '\nmodule.exports.useCreateElement = false;\n' \
>> src/renderers/dom/shared/ReactDOMFeatureFlags.js