Skip to content

Commit 20d428b

Browse files
committed
Added coverage report
1 parent 9549caa commit 20d428b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ node_js:
99

1010
script:
1111
- npm run lint-ci
12-
- npm run test-ci
12+
- npm run coveralls -- -c
1313

1414
env:
1515
- ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe ORACLE_SID=XE OCI_LIB_DIR=/u01/app/oracle/product/11.2.0/xe/lib LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/xe/lib

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# fastify-oracle
22
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
33
[![Build Status](https://travis-ci.org/cemremengu/fastify-oracle.svg?branch=master)](https://travis-ci.org/cemremengu/fastify-oracle)
4+
[![Coverage Status](https://coveralls.io/repos/github/cemremengu/fastify-oracle/badge.svg?branch=master)](https://coveralls.io/github/cemremengu/fastify-oracle?branch=master)
45

56
This module provides access to an Oracle database connection pool via the
67
[oracledb](https://npm.im/oracledb) module. It decorates the [Fastify](https://fastify.io)

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "tap 'test/**/*.test.js'",
88
"test-ci": "tap --cov 'test/**/*.test.js'",
99
"lint": "standard | snazzy",
10-
"lint-ci": "standard"
10+
"lint-ci": "standard",
11+
"coveralls": "npm run test-ci -- --cov"
1112
},
1213
"precommit": [
1314
"lint",
@@ -28,6 +29,7 @@
2829
},
2930
"homepage": "https://github.com/jsumners/fastify-oracle#readme",
3031
"devDependencies": {
32+
"coveralls": "^3.0.2",
3133
"fastify": "^1.1.0",
3234
"pre-commit": "^1.2.2",
3335
"snazzy": "^7.1.1",

0 commit comments

Comments
 (0)