Skip to content

Commit

Permalink
revert ci tweaks
Browse files Browse the repository at this point in the history
+ increase code coverage limit to 80%
+ remove jest --nocache for local and add it only for ci
  • Loading branch information
boopathi committed Jan 19, 2018
1 parent 636ae27 commit a11683f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ before_script:
- yarn build

script:
- yarn coverage
- yarn coverage --no-cache

after_success:
- yarn coverage-ci
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ before_test:
test_script:
- node --version
- yarn --version
- yarn test
- yarn test --no-cache
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ coverage:
status:
project:
default:
target: "70%"
target: "80%"
patch:
enabled: false
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"build": "gulp build",
"changelog": "lerna-changelog",
"clean": "lerna clean",
"coverage": "jest --coverage --maxWorkers=4 --no-cache",
"coverage": "yarn test --coverage",
"coverage-ci": "codecov -f coverage/coverage-final.json",
"fix": "eslint --fix .",
"lint": "eslint .",
"publish": "git pull origin master --rebase && npm run build && npm test && lerna publish",
"publish-master": "lerna publish -c --yes -m 'chore(canary): publish %s'",
"test": "jest --maxWorkers=4 --no-cache",
"test": "jest",
"test-ci": "npm run bootstrap && npm run build && npm run coverage",
"updated": "lerna updated",
"watch": "gulp watch"
Expand Down

0 comments on commit a11683f

Please sign in to comment.