From 864e958b0bc7e3137a40fecb287e8075788d6bd8 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Mon, 13 Aug 2012 21:38:10 +0200 Subject: [PATCH] added more even debugging for testing on travis --- sitespeed.io | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sitespeed.io b/sitespeed.io index 3cf861e9f..3cfed87eb 100755 --- a/sitespeed.io +++ b/sitespeed.io @@ -71,8 +71,12 @@ echo "Will start fetching all a links ..." wget -r -l $DEPTH -nd -t $RETRIES -e robots=off --no-check-certificate --follow-tags=a --spider $USER $PASSWORD $URL 2>&1 | while read line do - echo "$line" - + ## More debuggung for travis + if [[ $line == --* ]] + then + echo "$line" | cut -d " " -f 4 + fi + ## We are hitting the same url twice since spider mode, however, we should only use it when it's verified echo "$line" | grep -E "\-\-\d{4}" | cut -d " " -f 4 echo "$line" | grep -E "\-\-\d{4}" | cut -d " " -f 4 >> $REPORT_DATA_DIR/urls.txt