Browse Source

Travis-CI now generate coverage with Istanbul

pull/3/head
BinHong Lee 7 years ago
parent
commit
a1937fece0
2 changed files with 4 additions and 2 deletions
  1. +1
    -0
      .gitignore
  2. +3
    -2
      .travis.yml

+ 1
- 0
.gitignore View File

@@ -1,2 +1,3 @@
source.zip
node_modules
coverage

+ 3
- 2
.travis.yml View File

@@ -9,9 +9,10 @@ node_js:
install:
- npm install
- npm install -g codecov
- npm install -g istanbul
script:
- npm test
- istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec
- standard src/
- istanbul cover test/testflow.js
- codecov
env:
CODECLIMATE_REPO_TOKEN: a174b03227cdc953c831f45bebcf0af357ec1b8a4b8477f36444c16f084a409f

Loading…
Cancel
Save