new naming standard

This commit is contained in:
soulgalore 2013-11-11 22:11:22 +01:00
parent 425bee76b1
commit 761a9bcead
5 changed files with 10 additions and 23 deletions

View File

@ -11,9 +11,9 @@ before_script:
- "make build"
- python -m SimpleHTTPServer 8009 &
- sleep 10
- "./build/bin/sitespeed-sites.io -i test/sitespeed-sites.txt"
- "./build/bin/sitespeed.io-sites -i test/sitespeed-sites.txt"
- "./build/bin/sitespeed.io -u http://localhost:8009/test/server/www/ -o csv -k true -c true"
- "./build/bin/sitespeed-junit.io -o build"
- "./build/bin/sitespeed.io-junit -o build"
script: ./test/test.sh

View File

@ -5,6 +5,7 @@ version 2.2
* Moved all scripts to the bin folder, following the standard and easier to package
* Cleanup all scripts to use absolute paths, making it easier to package for Homebrew
* sitespeed-sites.io now always need to be feed with the filename of the text file containing all the URLS
* New names: sitespeed.io-sites & sitespeed.io-junit
* New BrowserTime version including backEndTime & frontEndTime
* Changed default summary page to show backend & frontend time (removed redirectionTime & domInteractiveTime)
* Increased timeout for the crawler for really slow pages

View File

@ -47,8 +47,8 @@ build:
@if [ ! -d $(BUILD)/$(REPORT)/$(XSLT) ]; then mkdir -p $(BUILD)/$(REPORT)/$(XSLT); fi
@cp CHANGELOG LICENSE $(BUILD)/
@cp $(BIN)/sitespeed.io $(BUILD)/$(BIN)/
@cp $(BIN)/sitespeed-junit.io $(BUILD)/$(BIN)/
@cp $(BIN)/sitespeed-sites.io $(BUILD)/$(BIN)/
@cp $(BIN)/sitespeed.io-junit $(BUILD)/$(BIN)/
@cp $(BIN)/sitespeed.io-sites $(BUILD)/$(BIN)/
@cp $(BIN)//travis-ci.sh $(BUILD)/$(BIN)/
@cp $(DEP)/LICENSE.txt $(BUILD)/$(DEP)/
@cp $(DEP)/crawler-1.5.7-full.jar $(BUILD)/$(DEP)/

View File

@ -43,15 +43,15 @@ REPORT_BASE_DIR=$(pwd)/sitespeed-result
# The limit if a rule should signal an error
PAGE_LIMIT=90
## Default output dir
OUTPUT_DIR=$(pwd)
# The average limit, if it is below this figure, it is an error
AVERAGE_LIMIT=90
# List of tests to skip.
SKIP_TESTS=
# Where to put the data
OUTPUT_DIR=
#The timing limit file
TIMINGS_LIMIT_FILE_INPUT=
@ -111,21 +111,6 @@ done
#*******************************************************
function verify_input() {
if [[ -z $OUTPUT_DIR ]]
then
help
exit 0
fi
# absolute path
if [[ "$OUTPUT_DIR" = /* ]]
then
OUTPUT_DIR=$OUTPUT_DIR
else
#relative
OUTPUT_DIR=$SITESPEED_HOME/$OUTPUT_DIR
fi
OUTPUT_RULE_XML="--output $OUTPUT_DIR/sitespeed.io-rules-junit.xml"
OUTPUT_TIMINGS_XML="--output $OUTPUT_DIR/sitespeed.io-timings-junit.xml"
@ -178,6 +163,7 @@ xsltproc --stringparam page-limit $PAGE_LIMIT --stringparam avg-limit $AVERAGE_L
xsltproc --stringparam limits-file $LIMITS_FILE $OUTPUT_TIMINGS_XML $xsl_timings_file $result_xml
echo "Will copy files to $OUTPUT_DIR"
cp $ABSOLUTE_ANALYZE_DIR/data/summary.xml $OUTPUT_DIR/summary.xml
cp $ABSOLUTE_ANALYZE_DIR/data/result.xml $OUTPUT_DIR/result.xml
}
@ -195,7 +181,7 @@ sitespeed-juni.io is a tool that will convert your sitespeed result into a junit
OPTIONS:
-h Help
-o The output dir
-o The output dir. Default one is the current dir [optional]
-r The result base directory, default is sitespeed-result [optional]
-l The page rule score limit. Below this page score it will be a failure. Default is 90. [optional]
-a The average rule score limit for all tested pages, below this score it will be a failure. Default is 90. [optional]