mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-11-30 02:46:52 +01:00
Travis changes
This commit is contained in:
parent
cd42a62692
commit
5b3889d06a
12
.travis.yml
12
.travis.yml
@ -7,9 +7,17 @@ before_install:
|
||||
- rvm install 2.2
|
||||
- gem install awesome_bot
|
||||
- gem install danger
|
||||
- echo $TRAVIS_PULL_REQUEST
|
||||
script:
|
||||
- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] && git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md && (node test.js temp.md) && awesome_bot temp.md --allow-redirect'
|
||||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && (node test.js README.md) && awesome_bot README.md --allow-dupe --allow-redirect --allow-ssl -w notepad.cc,www.invoiceplane.com,proxy.donttrustrobots.nl,demo.phproject.org,dev.webtrees.net'
|
||||
- |
|
||||
if [ $TRAVIS_PULL_REQUEST != "false" ]; then
|
||||
node test.js README.md
|
||||
awesome_bot README.md --allow-dupe --allow-redirect --allow-ssl -w notepad.cc,www.invoiceplane.com,proxy.donttrustrobots.nl,demo.phproject.org,dev.webtrees.net
|
||||
else
|
||||
git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md
|
||||
node test.js temp.md
|
||||
awesome_bot temp.md --allow-redirect'
|
||||
fi
|
||||
- danger
|
||||
#####awesome_bot#####
|
||||
#Whitelisted Reason
|
||||
|
Loading…
Reference in New Issue
Block a user