Skip to content

Commit

Permalink
Fixing travis config not showing test results
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi-nextbit committed Jun 2, 2017
1 parent 0f74020 commit 871d0af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
@@ -1,6 +1,4 @@
language: node_js

node_js:
- "8.0"

script: "npm run test-travis"
after_success: npm run coverage
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -19,7 +19,7 @@
},
"scripts": {
"test": "nyc --reporter=text --reporter=html mocha --recursive",
"test-travis": "nyc --reporter=text-lcov mocha --recursive | coveralls"
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"devDependencies": {
"chai": "^4",
Expand Down

0 comments on commit 871d0af

Please sign in to comment.