Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
chore: add travis building process
Browse files Browse the repository at this point in the history
  • Loading branch information
brokenmass committed Oct 27, 2016
1 parent 9f41dbf commit 2461888
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 10 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "mailonline",
"rules": {
"import/unambiguous": "off",
"import/no-commonjs": "off",
"promise/prefer-await-to-then": "off",
"strict": "off"
}
}
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@
*.swp
.DS_Store
.idea/
.scripts/
.vagrant/
bin/
bower_components/
coverage/
dev/
node_modules/
config/databag.json
npm-debug.log
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: node_js
install:
- npm install
script:
- npm run lint
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"name": "mol-conventional-changelog",
"version": "1.0.0",
"version": "0.0.0-semantically-released",
"description": "MOL Commitizen adapter following the conventional-changelog format",
"main": "index.js",
"scripts": {
"test": "echo \"No test specified\" && exit 0"
"test": "echo \"No test specified\" && exit 0",
"lint": "eslint {prompt/**,.}/*.js",
"precommit": "npm run lint",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"author": "MailOnline <fe@mailonline.co.uk>",
"homepage": "https://github.com/MailOnline/mol-conventional-changelog",
Expand All @@ -18,7 +21,11 @@
"word-wrap": "^1.1.0"
},
"devDependencies": {
"commitizen": ">=2.8.0 <2.8.3"
"commitizen": ">=2.8.0 <2.8.3",
"eslint": "^3.8.1",
"eslint-config-mailonline": "^2.0.0",
"husky": "^0.11.9",
"semantic-release": "^4.3.5"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 2461888

Please sign in to comment.