Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Initial Adoption of Continous Deployment using semantic-release #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,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
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"atom-package-deps": "^4.5.0"
},
"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",
"eslint": "^4.6.0",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-plugin-import": "^2.7.0",
Expand All @@ -38,6 +44,7 @@
"language-r"
],
"scripts": {
"commitmsg": "commitlint -e $GIT_PARAMS",
"test": "apm test",
"lint": "eslint ."
},
Expand Down Expand Up @@ -68,5 +75,13 @@
"node": true,
"browser": true
}
},
"release": {
"extends": "@semantic-release/apm-config"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}
}