Skip to content

Commit

Permalink
chore(release): add standard-version & update travis build (#446)
Browse files Browse the repository at this point in the history
* chore(release): add standard-version & scripts

* docs(readme): update coverage badge

* ci(travis): fix minimum nodejs version
  • Loading branch information
joshwiens committed Mar 10, 2017
1 parent 6da7e90 commit 17faa31
Show file tree
Hide file tree
Showing 4 changed files with 777 additions and 143 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ matrix:
node_js: "6"
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
- os: linux
node_js: "4.7"
node_js: "4.3"
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
- os: linux
node_js: "7"
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
- os: linux
node_js: "4.7"
node_js: "4.3"
env: WEBPACK_VERSION="1.14.0" JOB_PART=test
before_install:
- nvm --version
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ import { className } from 'file.css';
[tests]: http://img.shields.io/travis/webpack-contrib/css-loader.svg
[tests-url]: https://travis-ci.org/webpack-contrib/css-loader

[cover]: https://coveralls.io/repos/github/webpack-contrib/css-loader/badge.svg
[cover-url]: https://coveralls.io/github/webpack-contrib/css-loader
[cover]: https://codecov.io/gh/webpack-contrib/css-loader/branch/master/graph/badge.svg
[cover-url]: https://codecov.io/gh/webpack-contrib/css-loader

[chat]: https://badges.gitter.im/webpack/webpack.svg
[chat-url]: https://gitter.im/webpack/webpack
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"eslint": "3.14.0",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"should": "^11.1.2"
"should": "^11.1.2",
"standard-version": "^4.0.0"
},
"scripts": {
"test": "mocha",
Expand All @@ -40,7 +41,7 @@
"travis:test": "npm run cover",
"travis:lint": "npm run lint",
"cover": "istanbul cover node_modules/mocha/bin/_mocha",
"publish-patch": "mocha && npm version patch && git push && git push --tags && npm publish"
"release": "yarn run standard-version"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 17faa31

Please sign in to comment.