Skip to content

Commit

Permalink
Report test coverage only on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
zenflow committed Feb 26, 2018
1 parent 257c1d5 commit 1232c8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ node_js:
- 6
- 8
- 9

script:
- npm run lint
- npm run coverage
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ install:
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- npm test
- npm run lint
- npm run test
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "Loads environment variables from .env file",
"main": "lib/main.js",
"scripts": {
"pretest": "npm run lint",
"test": "lab -r lcov | coveralls",
"test": "lab",
"lint": "standard",
"postlint": "npm run lint-md",
"lint-md": "standard-markdown"
"lint-md": "standard-markdown",
"coverage": "lab -r lcov | coveralls"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1232c8e

Please sign in to comment.