diff --git a/.travis.yml b/.travis.yml index d9d9e27..8f0d49a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ node_js: - 7 - 6 - 5 +after_success: + - semantic-release pre && npm publish && semantic-release post notifications: email: false sudo: false diff --git a/package.json b/package.json index 630eef9..51bafb1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "eslint": "^3.9.1", "eslint-config-canonical": "^4.0.0", "husky": "^0.11.9", - "mocha": "^3.1.2" + "mocha": "^3.1.2", + "semantic-release": "^6.3.2" }, "engines": { "node": ">=5"