From d0174df810212958bebf38950284e70e5c1c80dd Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 10 Mar 2019 17:36:41 +0100 Subject: [PATCH] .travis.yml: use long options --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b5ed7488..14f361bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ before_install: before_script: script: - - git diff master.. -U0 README.md | grep -Pos "(?<=^\+).*" >> temp.md || (exit 0) + - git diff master.. --unified=0 README.md | grep --perl-regexp --only-matching --silent "(?<=^\+).*" >> temp.md || (exit 0) - node test.js temp.md - awesome_bot temp.md --allow-redirect || (exit 0) - awesome_bot README.md --allow-redirect || (exit 0)