Skip to content

Commit

Permalink
Merge pull request #1 from ifyoumakeit/ci
Browse files Browse the repository at this point in the history
Add Travis Ci
  • Loading branch information
ifyoumakeit committed May 27, 2018
2 parents 0cfc05f + a23739c commit 8876023
Show file tree
Hide file tree
Showing 4 changed files with 1,708 additions and 7 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- '9'
- '8'
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
6 changes: 6 additions & 0 deletions explainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"explainer": "To help explain our choices.",
"semantic-release": "To automatically release new versions of Explainer\"",
"travis-deploy-once":
"Run a deployment script only once in the Travis test matrix."
}
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "explainer",
"version": "0.0.5",
"version": "0.0.0-development",
"repository": "github:ifyoumakeit/explainer",
"description": "Explain your package choices!",
"bin": {
Expand All @@ -9,5 +9,16 @@
"license": "MIT",
"engines": {
"node": ">=8"
},
"explainer": {},
"devDependencies": {
"semantic-release": "^15.5.0",
"travis-deploy-once": "^5.0.0"
},
"scripts": {
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once",
"explainer": "node ./bin/explainer.js",
"test": "echo \"Warn: no test specified\" && exit 0"
}
}
Loading

0 comments on commit 8876023

Please sign in to comment.