Skip to content

Commit

Permalink
remove code coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstormtaylor committed Nov 10, 2018
1 parent b33605e commit 7a31faa
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 415 deletions.
53 changes: 32 additions & 21 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,49 +1,60 @@
{
"presets": [
["env", {
"modules": false
}],
[
"env",
{
"modules": false
}
],
"react",
"stage-0"
],
"plugins": ["external-helpers"],
"env": {
"webpack": {
"presets": [
["env", {
"modules": false
}],
[
"env",
{
"modules": false
}
],
"react",
"stage-0"
],
"plugins": [
"transform-runtime",
"react-hot-loader/babel"
]
"plugins": ["transform-runtime", "react-hot-loader/babel"]
},
"test": {
"presets": [
["env", {
"exclude": ["transform-regenerator"]
}],
[
"env",
{
"exclude": ["transform-regenerator"]
}
],
"react",
"stage-0"
],
"plugins": [
"transform-runtime",
["module-resolver", {
"alias" : {
"^(slate.*)": "./packages/\\1/src"
[
"module-resolver",
{
"alias": {
"^(slate.*)": "./packages/\\1/src"
}
}
}],
"istanbul"
]
]
},
"benchmark": {
"presets": [
["env", {
"exclude": ["transform-regenerator"]
}],
[
"env",
{
"exclude": ["transform-regenerator"]
}
],
"react",
"stage-0"
],
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ node_modules/
npm-debug.log
yarn-error.log
packages/*/yarn.lock
coverage/
.nyc_output/

# OS files.
.DS_Store
Expand Down
16 changes: 0 additions & 16 deletions .nycrc

This file was deleted.

7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ before_install:
cache: yarn

env:
# Do two runs, one for testing and one for linting.
# Do multiple runs for testing and linting.
matrix:
- TEST_TYPE=test:coverage
- TEST_TYPE=test
- TEST_TYPE=lint:eslint
- TEST_TYPE=lint:prettier

before_script:
# When linting, build the dependencies so they can be resolved.
- |
set -e
if [[ $TEST_TYPE == 'lint:eslint' ]]; then
lerna bootstrap
yarn build
fi
set +e
Expand All @@ -28,5 +28,4 @@ script:
- |
set -e
yarn $TEST_TYPE
if [[ $TEST_TYPE == 'test:coverage' ]]; then yarn codecov; fi
set +e
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"babel-eslint": "^8.2.1",
"babel-loader": "^7.1.2",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
Expand All @@ -19,7 +18,6 @@
"babel-runtime": "^6.26.0",
"blanket": "^1.2.3",
"chalk": "^1.1.3",
"codecov": "^3.0.4",
"commander": "^2.15.1",
"copy-webpack-plugin": "^4.4.1",
"cross-env": "^5.1.3",
Expand Down Expand Up @@ -50,7 +48,6 @@
"mocha": "^2.5.3",
"mocha-lcov-reporter": "^1.3.0",
"npm-run-all": "^4.1.2",
"nyc": "^12.0.2",
"prettier": "^1.10.2",
"prismjs": "^1.5.1",
"react": "^16.4.1",
Expand Down Expand Up @@ -107,7 +104,6 @@
"server": "webpack-dev-server --config ./support/webpack/config.js",
"start": "npm-run-all --parallel --print-label watch server",
"test": "cross-env BABEL_ENV=test FORBID_WARNINGS=true mocha --require babel-core/register ./packages/*/test/index.js",
"test:coverage": "cross-env NODE_ENV=test nyc yarn test",
"watch": "rollup --config ./support/rollup/config.js --watch"
}
}
Loading

0 comments on commit 7a31faa

Please sign in to comment.