.travis.yml: use long options

This commit is contained in:
nodiscc 2019-03-10 17:36:41 +01:00
parent c410f04d69
commit d0174df810

View File

@ -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)