test file and site option

This commit is contained in:
soulgalore 2014-10-15 23:14:45 +02:00
parent a975f8ef2f
commit 167732d4c3
2 changed files with 5 additions and 4 deletions

View File

@ -11,10 +11,10 @@ before_script:
- sleep 10
script:
- npm run-script travis
- node ./bin/sitespeed.js -u http://127.0.0.1:8009/test/server/www/ -b firefox -n
1
- node ./bin/sitespeed.js -u http://127.0.0.1:8009/test/server/www/ -b firefox -n
1 --noYslow -d 0
- node ./bin/sitespeed.js -u http://127.0.0.1:8009/test/server/www/ -b firefox -n 1
- node ./bin/sitespeed.js --sites test/sites.txt -n 1
- node ./bin/sitespeed.js -f test/sites.txt -n 1
- node ./bin/sitespeed.js -u http://127.0.0.1:8009/test/server/www/ -b firefox -n 1 --noYslow -d 0
- node ./bin/sitespeed.js -u http://www.sitespeed.io -n 2 -d 0 --gpsiKey $GKEY --wptKey $WPTKEY --wptUrl www.webpagetest.org --wptLocation Dulles:Chrome
after_script:
- kill `ps aux | grep "python -m SimpleHTTPServer" | grep -v grep | awk '{print $2}'`

1
test/sites.txt Normal file
View File

@ -0,0 +1 @@
http://127.0.0.1:8009/test/server/www/