You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2017/07/28 19:15:11 UTC
cordova-common git commit: Run code coverage as part of CI. Add
coverage/ dir to gitignore.
Repository: cordova-common
Updated Branches:
refs/heads/master 54450166d -> b4187f44d
Run code coverage as part of CI. Add coverage/ dir to gitignore.
Project: http://git-wip-us.apache.org/repos/asf/cordova-common/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-common/commit/b4187f44
Tree: http://git-wip-us.apache.org/repos/asf/cordova-common/tree/b4187f44
Diff: http://git-wip-us.apache.org/repos/asf/cordova-common/diff/b4187f44
Branch: refs/heads/master
Commit: b4187f44d7593c173d308a010e9dcb6392118a1c
Parents: 5445016
Author: filmaj <ma...@gmail.com>
Authored: Fri Jul 28 11:36:03 2017 -0700
Committer: filmaj <ma...@gmail.com>
Committed: Fri Jul 28 11:36:03 2017 -0700
----------------------------------------------------------------------
.gitignore | 1 +
.travis.yml | 8 ++++++--
2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-common/blob/b4187f44/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 3c3629e..ba2a97b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
node_modules
+coverage
http://git-wip-us.apache.org/repos/asf/cordova-common/blob/b4187f44/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 59fda3b..459273a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,10 @@ node_js:
- "4"
- "6"
install:
- - "npm install"
+ - npm install
+ - npm install -g codecov
script:
- - "npm test"
+ - npm test
+ - npm run cover
+after_script:
+ - codecov
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org