Skip to content

Commit

Permalink
Merge pull request #1 from thomsonreuters/feature/fixed_dependencies_…
Browse files Browse the repository at this point in the history
…and_travis_enable

Fixed dependencies and initial travis
  • Loading branch information
kiettisak-angkanawin committed Jan 9, 2018
2 parents 8a92b43 + 50c0ed8 commit 86137e8
Show file tree
Hide file tree
Showing 4 changed files with 1,984 additions and 5 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
language: node_js
sudo: false
cache:
directories:
- "node_modules"

node_js:
- "lts/*"
- "8"
- "6"
- "node"
matrix:
allow_failures:
- node_js: "node"

install:
- npm install

jobs:
include:
- stage: test
script: npm run lint
env: lint
- script: npm run test
env: unit_test
- script: npm run coveralls
env: coverage
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# cta-silo [ ![build status](https://git.sami.int.thomsonreuters.com/compass/cta-silo/badges/master/build.svg)](https://git.sami.int.thomsonreuters.com/compass/cta-silo/commits/master) [![coverage report](https://git.sami.int.thomsonreuters.com/compass/cta-silo/badges/master/coverage.svg)](https://git.sami.int.thomsonreuters.com/compass/cta-silo/commits/master)
# cta-silo
[![Build Status](https://travis-ci.org/thomsonreuters/cta-silo.svg?branch=master)](https://travis-ci.org/thomsonreuters/cta-silo)
[![Coverage Status](https://coveralls.io/repos/github/thomsonreuters/cta-silo/badge.svg?branch=master)](https://coveralls.io/github/thomsonreuters/cta-silo?branch=master)
[![codecov](https://codecov.io/gh/thomsonreuters/cta-silo/branch/master/graph/badge.svg)](https://codecov.io/gh/thomsonreuters/cta-silo)

Silo Modules for Compass Test Automation, One of Libraries in CTA-OSS Framework

Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,24 @@
"scripts": {
"test": "NODE_PATH=. _mocha",
"codecoverage": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && codecov",
"lint": "eslint --quiet lib test",
"docs": "jsdoc --readme README.md lib -r -d docs && opener ./docs/index.html"
},
"repository": {
"type": "git",
"url": "git@git.sami.int.thomsonreuters.com:compass/cta-silo.git"
"url": "https://github.com/thomsonreuters/cta-silo.git"
},
"engines": {
"node": "6.9.4"
"node": ">=6"
},
"devDependencies": {
"chai": "^3.4.0",
"chai-as-promised": "^5.1.0",
"codecov": "^3.0.0",
"coveralls": "^3.0.0",
"eslint": "^3.2.2",
"eslint-config-cta": "git+ssh://git@git.sami.int.thomsonreuters.com:compass/eslint-config-cta.git",
"eslint-config-cta": "^1.0.1",
"istanbul": "^0.4.1",
"jsdoc": "^3.4.0",
"mocha": "^2.3.4",
Expand All @@ -30,8 +33,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"cta-brick": "git+ssh://git@git.sami.int.thomsonreuters.com:compass/cta-brick.git#1.0.0",
"co": "^4.6.0",
"cta-brick": "thomsonreuters/cta-brick#1.0.0",
"nedb": "^1.7.2"
}
}

0 comments on commit 86137e8

Please sign in to comment.