diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 3c887cd..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -repo_token: lbl0gXlDGZQbMSFr2I3kKYssjB9Ok9Web diff --git a/.hound.yml b/.hound.yml index b59bf3e..33c398d 100644 --- a/.hound.yml +++ b/.hound.yml @@ -1,3 +1,3 @@ eslint: -enabled: true -config_file: .eslintrc.json \ No newline at end of file + enabled: true + config_file: .eslintrc \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 0cec123..e71aa61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,17 @@ -anguage: node_js +language: node_js node_js: -- "stable" -env: -global: - - export NODE_ENV=test + - "6" +notifications: + email: false +cache: + directories: + - node_modules before_script: -- npm install + - npm install script: -- npm test -- npm run coverage -after_success: - - -npm report coverage - -npm run coveralls \ No newline at end of file + - npm run test + - npm run check-coverage +after_success: + - npm run coverage + - npm run report-coverage + - npm run coveralls \ No newline at end of file diff --git a/README.md b/README.md index 4e013c4..b14325d 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ npm install * Users can review a business * Users can delete a business * Users can search for a business -* Users can search for a business by category -* Users can search for a business by location +* Users can search for a business by category +* Users can search for a business by location ## Run App(dummy-data) ```bash @@ -37,5 +37,5 @@ npm run test [![Build Status](https://travis-ci.org/ddouglasz/We-connect.svg?branch=serverside)](https://travis-ci.org/ddouglasz/We-connect) -[![Coverage Status](https://coveralls.io/repos/github/ddouglasz/We-connect/badge.svg?branch=serverside)](https://coveralls.io/github/ddouglasz/We-connect?branch=serverside) +[![Coverage Status](https://coveralls.io/repos/github/ddouglasz/We-connect/badge.svg?branch=ft-dummydata-tests-155738981)](https://coveralls.io/github/ddouglasz/We-connect?branch=ft-dummydata-tests-155738981) [![Maintainability](https://api.codeclimate.com/v1/badges/3353fa511defef2f1372/maintainability)](https://codeclimate.com/github/ddouglasz/We-connect/maintainability) diff --git a/package.json b/package.json index 4a93380..ebf2e71 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,7 @@ "build": "babel server -d server/dist --copy-files --ignore server/dist", "test": "nyc --reporter=html --reporter=text mocha ./server/test/**/*.js --exit --compilers js:babel-register", "postinstall": "npm run build", - "coverage": "nyc report --reporter=text-lcov | coveralls", - "report-coverage": "cat ./coverage/lcov.info | coveralls", - "coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test" + "coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test" }, "author": "douglas", "license": "ISC",