[Pkg-javascript-commits] [node-jade] 08/72: Add Coveralls and don't ship tests
Jelmer Vernooij
jelmer at moszumanska.debian.org
Sun Jul 3 18:03:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to annotated tag upstream/1.0.0
in repository node-jade.
commit 6be21c431625a23b9ffeee56f3e4a08e6efcc5b5
Author: Rob Loach <robloach at gmail.com>
Date: Fri Feb 27 11:35:55 2015 -0500
Add Coveralls and don't ship tests
---
.travis.yml | 6 ++++++
README.md | 1 +
package.json | 8 +++++++-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 6e5919d..21fa3c3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,9 @@
language: node_js
+sudo: false
+
node_js:
- "0.10"
+ - "0.12"
+ - "1.2"
+
+after_success: npm run coveralls
diff --git a/README.md b/README.md
index dc55c60..2da534e 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@ Normalize the API of any jstransformer
[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer/master.svg)](https://travis-ci.org/jstransformers/jstransformer)
[![Dependency Status](https://img.shields.io/gemnasium/jstransformers/jstransformer.svg)](https://gemnasium.com/jstransformers/jstransformer)
+[![Coverage Status](https://img.shields.io/coveralls/jstransformers/jstransformer/master.svg)](https://coveralls.io/r/jstransformers/jstransformer?branch=master)
[![NPM version](https://img.shields.io/npm/v/jstransformer.svg)](https://www.npmjs.org/package/jstransformer)
## Installation
diff --git a/package.json b/package.json
index 2eeaf96..9ffc0a1 100644
--- a/package.json
+++ b/package.json
@@ -10,13 +10,19 @@
"promise": "^6.0.1"
},
"devDependencies": {
+ "coveralls": "^2.11.2",
"istanbul": "^0.3.5",
"testit": "^1.2.0"
},
"scripts": {
"test": "node test",
- "coverage": "istanbul cover test/index.js"
+ "coverage": "istanbul cover test",
+ "coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls"
},
+ "files": [
+ "index.js",
+ "LICENSE"
+ ],
"repository": {
"type": "git",
"url": "https://github.com/jstransformers/jstransformer.git"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-jade.git
More information about the Pkg-javascript-commits
mailing list