diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4b15222 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: node_js +node_js: +- '4.3' +after_success: +- bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index 86b103b..4af8853 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # parse-files-utils +[![Build Status](https://travis-ci.org/parse-server-modules/parse-files-utils.svg?branch=master)](https://travis-ci.org/parse-server-modules/parse-files-utils) +[![codecov](https://codecov.io/gh/parse-server-modules/parse-files-utils/branch/master/graph/badge.svg)](https://codecov.io/gh/parse-server-modules/parse-files-utils) + Utilities to list and migrate Parse files. This utility will do the following: diff --git a/package.json b/package.json index f635cff..1d952f6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Utilities to list and migrate Parse files", "main": "index.js", "scripts": { - "start": "node index.js" + "start": "node index.js", + "test": "echo 'build some tests!' && exit 0", + "posttest": "istanbul cover lib/*" }, "repository": { "type": "git", @@ -31,5 +33,8 @@ "parse-server-gcs-adapter": "^1.0.0", "parse-server-s3-adapter": "^1.0.4", "request": "^2.72.0" + }, + "devDependencies": { + "istanbul": "^0.4.4" } }