From 64c05e39d8e9653980f0c90717172f0da7e79b5a Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Wed, 20 Jul 2016 15:35:21 -0400 Subject: [PATCH 1/4] basic ci setup --- .travis.yaml | 5 +++++ package.json | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .travis.yaml diff --git a/.travis.yaml b/.travis.yaml new file mode 100644 index 0000000..6f25eef --- /dev/null +++ b/.travis.yaml @@ -0,0 +1,5 @@ +language: node_js +node_js: +- '4.3' +- '6.1' +after_script: "./node_modules/.bin/codecov" diff --git a/package.json b/package.json index f635cff..88dac56 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "index.js", "scripts": { "start": "node index.js" + "test": "echo 'build some tests!' && exit 1" }, "repository": { "type": "git", @@ -31,5 +32,8 @@ "parse-server-gcs-adapter": "^1.0.0", "parse-server-s3-adapter": "^1.0.4", "request": "^2.72.0" + }, + "devDependencies": { + "codecov": "^1.0.1" } } From 4a6358203999799a359bf8af1b36f3e17d0cff83 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Wed, 20 Jul 2016 15:37:21 -0400 Subject: [PATCH 2/4] stupid me --- .travis.yaml => .travis.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .travis.yaml => .travis.yml (100%) diff --git a/.travis.yaml b/.travis.yml similarity index 100% rename from .travis.yaml rename to .travis.yml From 44e3a4f282b34fc1d9e450b4a98bbbf5c03df909 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Wed, 20 Jul 2016 15:44:14 -0400 Subject: [PATCH 3/4] nits --- .travis.yml | 3 ++- README.md | 3 +++ package.json | 7 ++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f25eef..8a9ee04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,5 @@ language: node_js node_js: - '4.3' - '6.1' -after_script: "./node_modules/.bin/codecov" +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 88dac56..1d952f6 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "description": "Utilities to list and migrate Parse files", "main": "index.js", "scripts": { - "start": "node index.js" - "test": "echo 'build some tests!' && exit 1" + "start": "node index.js", + "test": "echo 'build some tests!' && exit 0", + "posttest": "istanbul cover lib/*" }, "repository": { "type": "git", @@ -34,6 +35,6 @@ "request": "^2.72.0" }, "devDependencies": { - "codecov": "^1.0.1" + "istanbul": "^0.4.4" } } From 4fb41b7f89aaf1260c6ff2b6a68b6e3ab454c3b8 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Wed, 20 Jul 2016 15:56:22 -0400 Subject: [PATCH 4/4] remove 6.1 for now --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8a9ee04..4b15222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: node_js node_js: - '4.3' -- '6.1' after_success: - bash <(curl -s https://codecov.io/bash)