diff --git a/.travis.yml b/.travis.yml index 653efe5..dceae46 100755 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ script: - nyc --silent npm run test - nyc report --reporter=text-lcov | coveralls - nyc check-coverage --lines 90 +after_success: + - semantic-release pre && npm publish && semantic-release post notifications: email: false sudo: false diff --git a/package.json b/package.json index 0ddd0ba..d4b3c10 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "eslint": "^3.2.2", "eslint-config-canonical": "^1.7.12", "mocha": "^3.0.2", - "nyc": "^7.1.0" + "nyc": "^7.1.0", + "semantic-release": "^4.3.5" }, "dependencies": { "ini": "^1.3.4"