diff --git a/.travis.yml b/.travis.yml index 00dd791d..62762659 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,18 @@ -language: node_js -node_js: -- "4" -- "stable" sudo: false +language: node_js cache: directories: - - node_modules + - node_modules +notifications: + email: false +node_js: + - '4' +before_install: + - npm i -g npm@^2.0.0 +before_script: + - npm prune +after_success: + - npm run semantic-release +branches: + except: + - /^v\d+\.\d+\.\d+$/ diff --git a/README.md b/README.md index c03d04d5..5119f551 100644 --- a/README.md +++ b/README.md @@ -68,3 +68,51 @@ make coverage ```bash make benchmark ``` + +## Committing +This project uses [semantic release](https://github.com/semantic-release/semantic-release) +to ensure version bumps follow semver so that projects using the config don't +break unexpectedly. + +In order to automatically determine the type of version bump necessary, semantic +release expects commit messages to be formatted following +[conventional-changelog](https://github.com/bcoe/conventional-changelog-standard/blob/master/convention.md). +``` +(): + + + +