Skip to content

Commit

Permalink
integration
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithpatelo committed Dec 30, 2018
1 parent 89e9595 commit 83aac27
Show file tree
Hide file tree
Showing 6 changed files with 235 additions and 29 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/node_modules
/node_modules
/coverage
.coveralls.yml
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: "node_js"
node_js:
- "node"
before_script: chmod 0777 ./node_modules/.bin/mocha
before_script: chmod 0777 ./node_modules/.bin/mocha
after_success:
- npm run report-cover
247 changes: 225 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"test": "nyc mocha",
"lint": "eslint --ignore-path .eslintignore .",
"lint-fix": "eslint --ignore-path .eslintignore . -- --fix",
"check-coverage": "istanbul check-coverage --statements 70 --branches 70 --functions 70 --lines 70",
"coverage": "babel-node ./node_modules/istanbul/lib/cli cover _mocha test/index.js",
"report-coverage": "cat ./coverage/lcov.info | coveralls"
"cover": "nyc mocha && nyc report --reporter=text-lcov | coveralls",
"report-cover": "nyc report --reporter=text-lcov | coveralls"
},
"precommit": [
"lint",
Expand Down Expand Up @@ -43,9 +42,9 @@
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^13.1.0"
"mocha-lcov-reporter": "^1.3.0"
},
"dependencies": {
"linear-algebra": "^3.1.4"
Expand Down

0 comments on commit 83aac27

Please sign in to comment.