Skip to content

Commit

Permalink
Coveralls test
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Aug 4, 2018
1 parent cc00e27 commit b12a7c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ os:
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" || "$TRAVIS_NODE_VERSION" == "8" || "$TRAVIS_NODE_VERSION" == "9" ]]; then npm remove midi-test --save-dev; fi
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@
"jazz-midi": "^1.6.4"
},
"devDependencies": {
"coveralls": "^3.0.2",
"grunt": "^1.0.3",
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-uglify": "^3.3.0",
"istanbul": "^0.4.5",
"midi-test": "^0.0.2",
"mocha": "^5.2.0"
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b12a7c1

Please sign in to comment.