Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Update travis file and show build & dependency icons in README #82

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ before_install:
- npm install fh-build -g
- fh-build template
install: npm install
script:
- npm test
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ module.exports = function(grunt) {
stdout: true,
stderr: true
},
command: 'env NODE_PATH=. ./node_modules/.bin/mocha -A -u exports --recursive test/unit/'
command: 'env NODE_PATH=. ./node_modules/.bin/mocha -A -u exports --recursive test/unit/ --timeout 5000'
},
accept: {
options: {
stdout: true,
stderr: true
},
command: 'env NODE_PATH=. ./node_modules/.bin/mocha -A -u exports --recursive test/accept/'
command: 'env NODE_PATH=. ./node_modules/.bin/mocha -A -u exports --recursive test/accept/ --timeout 5000'

},
coverage_unit: {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# FeedHenry Hello World Cloud App
[![Dependency Status](https://img.shields.io/david/feedhenry-templates/helloworld-cloud.svg?style=flat-square)](https://david-dm.org/feedhenry-templates/helloworld-cloud)
[![dependencies Status](https://david-dm.org/feedhenry-templates/helloworld-cloud/status.svg)](https://david-dm.org/feedhenry-templates/helloworld-cloud) [![Build Status](https://travis-ci.org/feedhenry-templates/helloworld-cloud.svg?branch=master)](https://travis-ci.org/feedhenry-templates/helloworld-cloud)

This is a blank 'hello world' FeedHenry MBaaS. Use it as a starting point for building your APIs.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "helloworld-cloud",
"version": "0.2.0",
"dependencies": {
"body-parser": "~1.0.2",
"body-parser": "~1.17.2",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating body-parser to this version throws deprecate warnings when running grunt serve, so don't update it for now, or also update the code to avoid the deprecate warnings.

GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at lib/hello.js:8:13
GMT body-parser deprecated undefined extended: provide extended option at node_modules/body-parser/index.js:105:29

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, if you decide to do it later, I've created an Epic to track dependencies updates as most Cloud apps will need this too. Feel free to create an issue for helloworld-cloud and link it to the Epic
https://issues.jboss.org/browse/RHMAP-16281

"cors": "~2.8.3",
"express": "~4.15.3",
"fh-mbaas-api": "~7.0.11",
Expand Down