Skip to content

Commit

Permalink
Adding coveralls, reducing runs on Node
Browse files Browse the repository at this point in the history
  • Loading branch information
tarciosaraiva committed Jun 4, 2016
1 parent 40da8e0 commit 03d8ff8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '6'
env:
matrix:
- CXX=g++-4.8
global:
- secure: ju30KDpSYrw+nd2MmZTOjCTJu+gFNDy9auc6h/K9HhWgGX9zQ2cX0Vq4LX5EHWCImyPoVuyuxiouHoWB/eYcDtyDUoXb+EzNn/i+JXVWteQVRdbgnbDNHccGIpMYwEBrslg+iZWz5/SuxeqB/R0jd7MDK6oQBhWKAXgEYNOBEnRh814jryf93gQc8s4gONq2QoSiFk5QwDfqbvoK2o/4RsGGu3YBxy9/O8LhPTiI9YpdtjxmQtdgbchXLU0/oxv/7P/Etc5Z/0uqRwuF6YMZhJE6FT4ytLCDjaldYyMUAQ2YCT13UfouOO2gZYG0w+zpVGJ+e0hi/+6y1BCew/qNwTylMapcMpMCOsc2XLLD0HZoDrYprx8nUjZd0X859Rod+AWWEQnUhtFR7vqv69zwaH5TFR6l9uh+TragdgWUhJvWvupl1i26JBh0G1dFfWaU+rK/bmcsHK2ioPz2Ij+XrEdJV4KFtc7HPDWV1nCmiX5LA+cypDdfCNQehIufe6gArUUsV/vwtyEkTeOwzJAFgvOgufeZSivhttm/loalD1kX1JLrdR1ebxARvK2zSszeBYlFBwGCuK6sWup5Ace5TX39Ff6TRyO3YCTzaOd6k4w+Fsk93SkKLhGrDby21yIcmrkPdpDLjvR70SLb+OepemISktQpeMPrBTdfQU3J5G4=
addons:
apt:
sources:
Expand All @@ -16,3 +17,5 @@ before_install:
- npm install mitm
install: npm install
script: npm run dist
after_success:
- npm run coverage
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pact for all things Javascript.

[![Build Status](https://travis-ci.org/pact-foundation/pact-js.svg?branch=master)](https://travis-ci.org/pact-foundation/pact-js)
[![Code Climate](https://codeclimate.com/github/pact-foundation/pact-js/badges/gpa.svg)](https://codeclimate.com/github/pact-foundation/pact-js)
[![Test Coverage](https://codeclimate.com/github/pact-foundation/pact-js/badges/coverage.svg)](https://codeclimate.com/github/pact-foundation/pact-js/coverage)
[![Coverage Status](https://coveralls.io/repos/github/pact-foundation/pact-js/badge.svg?branch=master)](https://coveralls.io/github/pact-foundation/pact-js?branch=master)
[![Issue Count](https://codeclimate.com/github/pact-foundation/pact-js/badges/issue_count.svg)](https://codeclimate.com/github/pact-foundation/pact-js)
[![npm](https://img.shields.io/github/license/pact-foundation/pact-js.svg?maxAge=2592000)](https://github.com/pact-foundation/pact-js/blob/master/LICENSE)

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Pact for all things Javascript",
"main": "./dist/pact.js",
"scripts": {
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"dist": "npm run dist:node && npm run dist:web",
"dist:web": "webpack --config ./config/webpack.web.config.js",
"dist:node": "webpack --config ./config/webpack.node.config.js",
Expand All @@ -18,7 +19,7 @@
"url": "git+https://github.com/tarciosaraiva/pact-js.git"
},
"engines": {
"node" : ">=0.12"
"node": ">=0.12"
},
"keywords": [
"pact",
Expand Down Expand Up @@ -92,8 +93,8 @@
"body-parser": "1.15.1",
"chai": "3.5.0",
"chai-as-promised": "5.3.0",
"codeclimate-test-reporter": "0.3.1",
"cors": "2.7.1",
"coveralls": "2.11.9",
"express": "4.13.4",
"imports-loader": "0.6.5",
"isparta": "4.0.0",
Expand Down

0 comments on commit 03d8ff8

Please sign in to comment.