Skip to content

Commit

Permalink
Configure travis and bumped for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldfallen committed Aug 14, 2017
1 parent e7b51ab commit c88df6f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .bumpedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
files:
- package.json
plugins:
prerelease:
Linting config files:
plugin: bumped-finepack
postrelease:
Generating CHANGELOG file:
plugin: bumped-changelog
Committing new version:
plugin: bumped-terminal
command: 'git add CHANGELOG.md package.json && git commit -m "Release $newVersion"'
Detecting problems before publish:
plugin: bumped-terminal
command: 'git-dirty && npm test'
Publishing tag to GitHub:
plugin: bumped-terminal
command: 'git tag $newVersion && git push && git push --tags'
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ services:

script:
- make build test

deploy:
provider: npm
email: michael@allen.digital
api_key:
secure: ZT38RB8nJW1DJCzn8ewdP2X+h5lWswW8twG1q6M86wJm8FwK1GIFYHp9sQGae1En0hKcABb2T2RumgY1Gm/Hf9tB/b5HiCRk5mT+G7hHmxUmST02+GWXEEB9fUCLYHnAAOKQ2vgTH0FfM8SFRaKCxlAYwNt0YFXQbVQtouLePnnRGetzXSj/iYmipCEf2y7VUUKb9di7u1YDaoDVYmJZ9sIrGAwjiGuGD3Au5EBK7EpyOts3Vz9rk4c9KuV5K0kVhzHF0Xnuhv9aQxqH7am+pKcG/1Oob9eMloGLMu0qvFSks1N5EmRSW0D0yvR4ZmSpDjFfazqjchZ2MqSdiECpXJJCyD8H3p62OkuYqbFxzwRinvWja3Xl8ihdKo8pp522X+W5FaPh5CjfYq+LT4E0gdGymGHfyy+WoEY+GwpGS4s76gk8WCNIiUdIZusjRNKKgi2VHpjr6N3hG4CTNwqCeR9wPl2CgU2Ag7NBRU/Dl39Qaa+Exdf8DPSORGdWF+5d5sW93PTWW7opbRN4vgG10yTBtb1EHKK0vpCXQpR+Gplq0Tnx+iJHf2rL+oT+1G2VAeDmB8+CXXPZF5vcVfBPiQutJfy35gkQYQJKd9tp9DnFuxPn1YZO5UWJHupT5LItZJk67XfAPnIwlrKB/F059RCdh4/BhPVlpbVni1hw1MU=
on:
tags: true
repo: hmcts/look-and-feel
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"engines": {
"node": ">=6.0"
},
"publishConfig": {
"access": "public"
},
"main": "./src/main.js",
"scripts": {
"test": "NODE_PATH=. NODE_ENV=testing mocha 'test/**/*.test.js'",
Expand Down

0 comments on commit c88df6f

Please sign in to comment.