Skip to content

Commit

Permalink
Added travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi-nextbit committed Feb 9, 2017
1 parent 47cb9f9 commit faf1ccf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js

sudo: false

node_js:
- "7.5"

#cache:
# directories:
# - node_modules

script: "npm run test-travis"
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Cheevr-Logging
[![Build Status](https://travis-ci.org/Cheevr/Logging.svg?branch=master)](https://travis-ci.org/Cheevr/Logging)
[![Coverage Status](https://coveralls.io/repos/Cheevr/Logging/badge.svg?branch=master&service=github)](https://coveralls.io/github/Cheevr/Logging?branch=master)
[![Dependency Status](https://david-dm.org/Cheevr/Logging.svg)](https://david-dm.org/Cheevr/Logging)
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
"url": "https://github.com/Cheevr/Logging/issues"
},
"scripts": {
"start": "type node-dev 2> /dev/null && node-dev . || node .",
"test": "istanbul cover _mocha -- --recursive"
"test": "istanbul cover _mocha -- --recursive",
"test-travis": "istanbul cover _mocha --report lcovonly -- -R spec --recursive"
},
"devDependencies": {
"chai": "^3",
"coveralls": "^2",
"express": "^4",
"istanbul": "^0.4",
"mocha": "^3"
Expand Down

0 comments on commit faf1ccf

Please sign in to comment.