Skip to content

Commit

Permalink
ci: Add TravisCI build process
Browse files Browse the repository at this point in the history
  • Loading branch information
jahredhope committed Nov 22, 2018
1 parent f20ea78 commit 441fa41
Show file tree
Hide file tree
Showing 3 changed files with 2,459 additions and 74 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js

node_js:
- lts/*

cache: yarn

jobs:
include:
# Define the release stage that runs semantic-release
- stage: release
if: branch = master
node_js: lts/*
deploy:
provider: script
skip_cleanup: true
script:
- yarn release
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
"lint": "npm run lint.eslint && npm run lint.prettier",
"jest": "jest",
"test": "npm run lint && npm run jest",
"format": "prettier --write \"**/*.js\""
"format": "prettier --write \"**/*.js\"",
"release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/jahredhope/html-render-webpack-plugin.git"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
Expand All @@ -25,7 +30,8 @@
},
"dependencies": {
"chalk": "^2.4.1",
"eval": "^0.1.2"
"eval": "^0.1.2",
"semantic-release": "^15.12.1"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit 441fa41

Please sign in to comment.