mirror of
				https://github.com/awesome-selfhosted/awesome-selfhosted.git
				synced 2025-11-04 09:43:12 +00:00 
			
		
		
		
	Update .travis.yml
This commit is contained in:
		
							
								
								
									
										21
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								.travis.yml
									
									
									
									
									
								
							@@ -8,22 +8,9 @@ before_install:
 | 
				
			|||||||
  - gem install awesome_bot
 | 
					  - gem install awesome_bot
 | 
				
			||||||
  - gem install bundler
 | 
					  - gem install bundler
 | 
				
			||||||
  - bundle install
 | 
					  - bundle install
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
  - echo $TRAVIS_PULL_REQUEST
 | 
					  - git diff master.. -U0 README.md | grep -Po "(?<=^\+).*" >> temp.md
 | 
				
			||||||
  - |
 | 
					  - node test.js temp.md
 | 
				
			||||||
    if [ $TRAVIS_PULL_REQUEST = 'false' ]; then
 | 
					  - awesome_bot temp.md --allow-redirect
 | 
				
			||||||
      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
 | 
					 | 
				
			||||||
  - bundle exec danger --verbose
 | 
					  - bundle exec danger --verbose
 | 
				
			||||||
  #####awesome_bot#####
 | 
					 | 
				
			||||||
  #Whitelisted              Reason
 | 
					 | 
				
			||||||
  #www.invoiceplane.com     awesome_bot receives error 500, works fine from browser
 | 
					 | 
				
			||||||
  #notepad.cc               not an actual link, mentioned in description
 | 
					 | 
				
			||||||
  #proxy.donttrustrobots.nl site down, issue submitted: https://github.com/swiperproxy/swiperproxy/issues/27
 | 
					 | 
				
			||||||
  #demo.phproject.org       server issues, issue submitted: https://github.com/Alanaktion/phproject/issues/257
 | 
					 | 
				
			||||||
  #dev.webtrees.net         403 error only in trvis ci, works fine from browser
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user