Skip to content

Commit

Permalink
Merge fcfc479 into d21fa3a
Browse files Browse the repository at this point in the history
  • Loading branch information
thatkookooguy committed Dec 9, 2018
2 parents d21fa3a + fcfc479 commit 643d23e
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ node_modules/
.env*
package-lock.json
.idea
test-results/
.DS_store
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sudo: false
language: node_js
cache:
directories:
- ~/.npm
node_js:
- "8.3"
notifications:
email: false
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npm run coveralls
branches:
except:
- /^v\d+\.\d+\.\d+$/
32 changes: 28 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
"lint:fix": "npx eslint --fix ./lib/*.js",
"commit": "npx git-cz",
"test": "jest",
"test:watch": "jest --watch --notify --notifyMode=change --coverage"
"test:watch": "jest --watch --notify --notifyMode=change --coverage",
"test:cov": "jest --coverage",
"coveralls": "npm run test:cov && cat ./test-results/lcov.info | coveralls",
"travis-deploy-once": "travis-deploy-once"
},
"husky": {
"hooks": {
Expand All @@ -40,13 +43,16 @@
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-angular": "^7.1.2",
"commitizen": "3.0.4",
"commitizen": "3.0.0",
"coveralls": "^3.0.2",
"eslint": "^5.10.0",
"husky": "^1.2.0",
"jest": "^22.4.3",
"jest-html-reporter": "^2.4.2",
"nock": "^10.0.0",
"nodemon": "^1.17.2",
"smee-client": "^1.0.2"
"smee-client": "^1.0.2",
"travis-deploy-once": "^5.0.9"
},
"engines": {
"node": ">= 8.3.0"
Expand All @@ -59,6 +65,24 @@
]
},
"jest": {
"testEnvironment": "node"
"testEnvironment": "node",
"coverageReporters": [
"json",
"lcov",
"text",
"clover",
"html"
],
"coverageDirectory": "./test-results",
"reporters": [
"default",
[
"jest-html-reporter",
{
"pageTitle": "achievibit's Test Report",
"outputPath": "./test-results/test-report.html"
}
]
]
}
}
6 changes: 0 additions & 6 deletions travis.yml

This file was deleted.

0 comments on commit 643d23e

Please sign in to comment.