Skip to content

Commit

Permalink
Merge pull request #46 from popomore/travis
Browse files Browse the repository at this point in the history
chore: add travis
  • Loading branch information
thejoshwolfe committed Nov 30, 2018
2 parents cfab32f + 5483f53 commit dbe5c84
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
node_modules/
coverage
11 changes: 11 additions & 0 deletions .travis.yml
@@ -0,0 +1,11 @@
language: node_js
node_js:
- 10
- 8
- 6
- 4
script:
- "npm run test-travis"
after_script:
- "npm install coveralls@2 && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"

5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,9 @@
"description": "yet another zip library for node",
"main": "index.js",
"scripts": {
"test": "node test/test.js"
"test": "node test/test.js",
"test-cov": "istanbul cover test/test.js",
"test-travis": "istanbul cover --report lcovonly test/test.js"
},
"repository": {
"type": "git",
Expand All @@ -27,6 +29,7 @@
},
"devDependencies": {
"bl": "~0.9.3",
"istanbul": "^0.4.5",
"yauzl": "~2.3.1"
},
"files": [
Expand Down

0 comments on commit dbe5c84

Please sign in to comment.