This is an automated email from the ASF dual-hosted git repository.

brodybits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-osx.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a5887f  npm test fixes (#72)
5a5887f is described below

commit 5a5887f09191fe3356a9f70cea02c338180d25a0
Author: Chris Brody <chris.br...@gmail.com>
AuthorDate: Tue Nov 27 12:09:05 2018 -0500

    npm test fixes (#72)
    
    * add test:objc to npm test script
    * test:coverage separated from npm test script to npm cover script
    * separate npm run cover step in .travis.yml
    
    (more consistent with cordova-ios)
---
 .travis.yml  | 1 +
 package.json | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 09f5ab7..97c8f16 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,3 +19,4 @@ script:
   - node --version
   - npm --version
   - npm test
+  - npm run cover
diff --git a/package.json b/package.json
index a688885..361247b 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,8 @@
     "cordova:platform"
   ],
   "scripts": {
-    "test": "npm run eslint && npm run test:coverage",
+    "cover": "npm run test:coverage",
+    "test": "npm run eslint && npm run test:component && npm run test:objc",
     "test:objc": "jasmine  --config=tests/spec/objc.json",
     "test:component": "jasmine --config=tests/spec/component.json",
     "test:coverage": "nyc jasmine --config=tests/spec/coverage.json",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to