Skip to content

Commit

Permalink
Merge pull request #2 from swaibat/ch-add-badges
Browse files Browse the repository at this point in the history
chore(add-badges):add badges in readme file
  • Loading branch information
swaibat committed Sep 21, 2019
2 parents 0d2c7f9 + 5bcceee commit a730edf
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 103 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-pro
repo_token: 61EXexChoXi1iWARXBlkjJ0W5Z47JK3tq
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: node_js
git:
depth: 3
node_js:
- "10"
install: npm install
cache:
directories:
- node_modules
script:
- npm test
after_success:
- npm run coveralls

notifications:
email: false
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# eagle-validator
[![Build Status](https://travis-ci.org/swaibat/eagle-validator.svg?branch=master)](https://travis-ci.org/swaibat/eagle-validator)
[![Coverage Status](https://coveralls.io/repos/github/swaibat/eagle-validator/badge.svg?branch=master)](https://coveralls.io/github/swaibat/eagle-validator?branch=master)
a modern javascript object validation NPM package available on npmjs.com
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
]
},
"scripts": {
"test": "nyc mocha --timeout 200000 --exit"
"test": "nyc mocha --timeout 200000 --exit",
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls "
},
"repository": {
"type": "git",
Expand Down
File renamed without changes.
101 changes: 0 additions & 101 deletions package/script.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, it } from 'mocha';
import chai from 'chai';
import chaiHttp from 'chai-http';
import Check from '../index';
import Check from '../package/index';

const should = chai.should();

Expand Down

0 comments on commit a730edf

Please sign in to comment.