diff --git a/.travis.yml b/.travis.yml index 345d27a0ba46..0c6fd698919a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,10 @@ language: node_js node_js: - '10' +branches: + only: + - master + before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash - export PATH="$HOME/.yarn/bin:$PATH" diff --git a/package.json b/package.json index 2382e7230fb0..a0a3553274b1 100644 --- a/package.json +++ b/package.json @@ -90,8 +90,8 @@ "postinstall": "opencollective postinstall && yarn build", "publish": "yarn build-clean && yarn build && lerna publish --silent", "test-ci-es5-build-in-browser": "karma start --single-run", - "test-ci": "yarn jest-coverage -i --config jest.config.ci.js && yarn test-leak && node scripts/mapCoverage.js && codecov", - "test-ci-partial": "yarn jest -i --config jest.config.ci.js", + "test-ci": "yarn jest-coverage --color -i --config jest.config.ci.js && yarn test-leak && node scripts/mapCoverage.js && codecov", + "test-ci-partial": "yarn jest --color -i --config jest.config.ci.js", "test-pretty-format-perf": "node packages/pretty-format/perf/test.js", "test-leak": "yarn jest -i --detectLeaks jest-mock jest-diff jest-repl", "test": "yarn lint && yarn jest",