From 7bc3c20076e85f67f67aaed2b6060e8a19607da8 Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 10:07:56 -0700 Subject: [PATCH 1/9] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 18ab5de2..4373545a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: before_script: script: - - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && node tests/test.js temp.md; else (exit 0); fi else node tests/test.js temp.md; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && if [ -f temp.md ]; then node tests/test.js temp.md; else (exit 0); fi else node tests/test.js temp.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi' notifications: @@ -18,4 +18,4 @@ notifications: branches: only: - - master \ No newline at end of file + - master From c06e7909f6fc12e384c7ba74fa28acd4ceed2346 Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 10:18:43 -0700 Subject: [PATCH 2/9] fix travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4373545a..272ca0be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: before_script: script: - - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && if [ -f temp.md ]; then node tests/test.js temp.md; else (exit 0); fi else node tests/test.js temp.md; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && if [ -f temp.md ; then node tests/test.js temp.md; else (exit 0); fi else node tests/test.js temp.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi' notifications: From a0c156bc801840871511e3266813d01b79a598dd Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 16:03:09 -0500 Subject: [PATCH 3/9] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 272ca0be..df1a1fda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: before_script: script: - - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && if [ -f temp.md ; then node tests/test.js temp.md; else (exit 0); fi else node tests/test.js temp.md; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && if [ -f temp.md ]; then node tests/test.js temp.md; else (exit 0); fi else node tests/test.js README.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi' notifications: From 380554d768fa10979901205cdc4f8fb98639b4a1 Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 16:35:04 -0500 Subject: [PATCH 4/9] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index df1a1fda..98807680 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ before_install: before_script: script: - - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && if [ -f temp.md ]; then node tests/test.js temp.md; else (exit 0); fi else node tests/test.js README.md; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && node tests/test.js temp.md; else node tests/test.js README.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi' notifications: From e59fb697421086d21b3772f10508abe52aec5b5f Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 17:30:28 -0500 Subject: [PATCH 5/9] Update test.js --- tests/test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.js b/tests/test.js index ee3867e8..6516ab07 100644 --- a/tests/test.js +++ b/tests/test.js @@ -52,6 +52,10 @@ function entryErrorCheck(md) { let totalPass = 0; let total = 0; const entryArray = []; + if (entries[0] === "") { + console.log("0 Entries") + process.exit(0) + } for (let i = 0, len = entries.length; i < len; i += 1) { // Loop to create array of objects entryArray[i] = new Object; entryArray[i].raw = entries[i]; From b815c200ab9076ca35306b70c9a44aa9ceb73fbe Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 17:34:37 -0500 Subject: [PATCH 6/9] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 98807680..39af9dd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ before_install: before_script: script: + - 'git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && node tests/test.js temp.md' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && node tests/test.js temp.md; else node tests/test.js README.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi' From 3a88e1ded0d0c8084ace77205ea4a2f2992d8a40 Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 17:39:26 -0500 Subject: [PATCH 7/9] Update .travis.yml --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 39af9dd1..a42cea9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,8 @@ before_install: before_script: script: - - 'git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && node tests/test.js temp.md' + - 'git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md' + - 'node tests/test.js temp.md' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && node tests/test.js temp.md; else node tests/test.js README.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi' From b77f7ca8a63cbc0b85103ffbad9e1824c7bd36d7 Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 17:44:09 -0500 Subject: [PATCH 8/9] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a42cea9a..70e4359c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,9 @@ before_install: before_script: script: - - 'git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md' + - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md; fi || (exit 0)' - 'node tests/test.js temp.md' - - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md && node tests/test.js temp.md; else node tests/test.js README.md; fi' + - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then node tests/test.js temp.md; else node tests/test.js README.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi' notifications: From 3bb1203c85fa75d7293048b224a154e37cdafb66 Mon Sep 17 00:00:00 2001 From: n8225 Date: Wed, 21 Aug 2019 17:46:25 -0500 Subject: [PATCH 9/9] Update .travis.yml --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 70e4359c..e86df119 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ before_script: script: - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git diff origin/master -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md; fi || (exit 0)' - - 'node tests/test.js temp.md' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then node tests/test.js temp.md; else node tests/test.js README.md; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then if [ -f temp.md ]; then awesome_bot temp.md --allow-redirect --skip-save-results; else (exit 0); fi else awesome_bot README.md --allow-redirect --skip-save-results; fi'