diff --git a/.travis.yml b/.travis.yml index 49b795f..e879fd8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,3 +42,15 @@ addons: - git - libgnome-keyring-dev - fakeroot + +node_js: lts/* + +after_success: + # Add apm to the PATH + - export PATH=${PATH}:${HOME}/atom/usr/bin/ + +deploy: + provider: script + skip_cleanup: true + script: + - npx semantic-release diff --git a/package.json b/package.json index b8a2698..c52e1c5 100644 --- a/package.json +++ b/package.json @@ -66,5 +66,24 @@ "description": "If enabled linter-javac will log its internal states to the console. This option is intended for debugging purposes **only** - enable this **only temporarily**, if the linter is not working as expected. You can access the output from the dev-console (alt+cmd+i), you may file the log-messages to a proper issue in order to help us improving this package. Do not forget to disable this option afterwards - since this may lead to performance issues.", "order": 7 } + }, + "release": { + "extends": "@semantic-release/apm-config" + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "devDependencies": { + "@commitlint/cli": "^6.1.3", + "@commitlint/config-conventional": "^6.1.3", + "@commitlint/travis-cli": "^6.1.3", + "@semantic-release/apm-config": "^2.0.1", + "husky": "^0.14.3", + "semantic-release": "^15.1.7" + }, + "scripts": { + "commitmsg": "commitlint -e $GIT_PARAMS" } -} +} \ No newline at end of file