Skip to content

Commit

Permalink
build: Automate build via TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
SahajR committed Jan 16, 2018
1 parent 863f56c commit b457f5c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- '9'
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"e2e": "node test/e2e/runner.js",
"test": "echo 'skipping tests until selenium is setup for travis'",
"lint": "eslint --ext .js,.vue src test/e2e/specs",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"dependencies": {
"vue": "^2.3.3"
Expand Down Expand Up @@ -74,7 +75,8 @@
"webpack-dev-middleware": "^1.10.0",
"webpack-hot-middleware": "^2.18.0",
"webpack-merge": "^4.1.0",
"semantic-release": "^12.2.2"
"semantic-release": "^12.2.2",
"travis-deploy-once": "^4.3.1"
},
"engines": {
"node": ">= 4.0.0",
Expand Down

0 comments on commit b457f5c

Please sign in to comment.