Skip to content

Commit bf5cc00

Browse files
add new steps to build
1 parent fb28428 commit bf5cc00

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
language: node_js
22
node_js:
33
- "6.2"
4+
script:
5+
- npm run lint
6+
- npm run coveralls

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ![z](https://raw.githubusercontent.com/leonardiwagner/z/master/z-logo.png) Native pattern matching for Javascript.
22

3-
[![Build Status](https://travis-ci.org/z-pattern-matching/z.svg?branch=master)](https://travis-ci.org/leonardiwagner/z)
3+
[![Build Status](https://travis-ci.org/z-pattern-matching/z.svg?branch=master)](https://travis-ci.org/z-pattern-matching/z)
44
[![Coverage Status](https://coveralls.io/repos/github/z-pattern-matching/z/badge.svg?branch=master)](https://coveralls.io/github/z-pattern-matching/z?branch=master)
55
[![Dependency Status](https://gemnasium.com/badges/github.com/z-pattern-matching/z.svg)](https://gemnasium.com/github.com/z-pattern-matching/z)
66
[![NPM version](https://img.shields.io/npm/v/z.svg)](https://www.npmjs.com/package/z)

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"main": "src/z.js",
55
"description": "pattern matching for javascript",
66
"scripts": {
7-
"test": "node_modules/mocha/bin/mocha tests/*.js",
7+
"test": "mocha tests/*.js",
8+
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
89
"lint": "standard --fix \"src/z.js\" \"tests/*.js\"",
910
"coverage": "nyc npm test"
1011
},
@@ -52,7 +53,9 @@
5253
"license": "Apache-2.0",
5354
"devDependencies": {
5455
"chai": "^3.4.0",
56+
"coveralls": "^2.11.16",
5557
"mocha": "^2.3.3",
58+
"mocha-lcov-reporter": "^1.2.0",
5659
"nyc": "^10.1.2",
5760
"standard": "^8.6.0"
5861
}

0 commit comments

Comments
 (0)