Skip to content

Commit

Permalink
Adding coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
intervalia committed Aug 24, 2016
1 parent b154333 commit facd9ba
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
repo_token: QWTZSQe9JSq7AN5Gi14orjQcIFp9OKnYm
service_name: travis-ci
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ gulp-hash-filename
[![Downloads](http://img.shields.io/npm/dm/gulp-hash-filename.svg)](https://npmjs.org/package/gulp-hash-filename)
[![Support us](http://img.shields.io/gittip/intervalia.svg)](https://www.gittip.com/intervalia/)
[![Build Status](https://travis-ci.org/intervalia/gulp-hash-filename.svg?branch=master)](https://travis-ci.org/intervalia/gulp-hash-filename)
<!--
[![Coveralls Status](https://img.shields.io/coveralls/intervalia/gulp-hash-filename.svg)](https://coveralls.io/r/intervalia/gulp-hash-filename)
-->
[![Coverage Status](https://coveralls.io/repos/github/intervalia/gulp-hash-filename/badge.svg?branch=master)](https://coveralls.io/github/intervalia/gulp-hash-filename?branch=master)

---

Expand Down
7 changes: 5 additions & 2 deletions UPDATE_HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
Update History
==============

###1.1.0 - 2016-08-24
### 1.1.1
* Adding support for coveralls

### 1.1.0
* Added code to allow length limitation for any field. {hash} will use the full length while {hash:8} will only use the first 8 characters of the hash value.
* Broke single file into multiple files for testing
* Added Mocha/Chai testing for all non-gulp functionality

###1.0.0
### 1.0.0
* Initial Release
* Added {name}, {ext}, {hash}, {atime}, {ctime} and {mtime} as options to the format routine
* Set default of format string to "{name}-{hash}{ext}"
3 changes: 2 additions & 1 deletion bin/unit
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ set -o pipefail
echo ------------------------
echo Mocha Tests
echo ------------------------
./node_modules/.bin/istanbul cover node_modules/mocha/bin/_mocha -- test/*.test.js
#./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- test/*.test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
echo ------------------------
echo Finished
echo ------------------------
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-hash-filename",
"version": "1.1.0",
"version": "1.1.1",
"author": "Michael G Collins <intervalia@gmail.com>",
"license": "MIT",
"description": "gulp-hash-filename is a gulp plug-in that adds a hash to the filename based on the content of that file, size of that file, or the file's atime, ctime and mtime.",
Expand Down Expand Up @@ -31,8 +31,10 @@
},
"devDependencies": {
"chai": "^3.5.0",
"coveralls": "^2.11.12",
"gulp": "^3.9.1",
"istanbul": "^0.4.5",
"mocha": "^3.0.2"
"mocha": "^3.0.2",
"mocha-lcov-reporter": "^1.2.0"
}
}

0 comments on commit facd9ba

Please sign in to comment.