Add drone.yml and fix tests to be compatable with docker pipeline #1

Merged
jhodges merged 14 commits from tests into master 2020-09-30 15:13:57 +01:00
Showing only changes of commit f2fc6cf3bd - Show all commits

View File

@ -13,12 +13,9 @@ class CrawlerTest extends TestCase{
if(getenv('URL')){
$this->url=getenv('URL');
}
echo $this->url;
}
public function testFullSite(){
echo $this->url;
$crawler=new Crawler([RequestOptions::CONNECT_TIMEOUT => 3, RequestOptions::TIMEOUT => 3]);
$crawler->crawl($this->url);
$sitemap=$crawler->getResults();