test the new budget in Travis
This commit is contained in:
parent
de2159a9f3
commit
9371f8044a
|
|
@ -26,8 +26,8 @@ before_install:
|
|||
script:
|
||||
- npm run travis
|
||||
- npm run build:css && test -z "$(git status --porcelain lib/plugins/html/assets/css/index.css)"
|
||||
- bin/sitespeed.js -b firefox -n 2 --budget.configPath test/budget.json --summary https://www.sitespeed.io/
|
||||
- bin/sitespeed.js --useHash -n 1 https://www.sitespeed.io/#heybaberia
|
||||
- bin/sitespeed.js -b firefox -n 2 --budget.configPath test/oldBudget.json --summary https://www.sitespeed.io/
|
||||
- bin/sitespeed.js --useHash -n 1 --budget.configPath test/budget.json https://www.sitespeed.io/#heybaberia
|
||||
- bin/sitespeed.js --useAlias start --mobile -n 1 --utc https://www.sitespeed.io/
|
||||
- bin/sitespeed.js -b firefox --metrics.list --mobile -n 1 https://www.sitespeed.io/
|
||||
- bin/sitespeed.js --multi -b chrome -n 1 test/prepostscripts/preSample.js https://www.sitespeed.io/documentation/ test/prepostscripts/postSample.js
|
||||
|
|
|
|||
|
|
@ -1,44 +1,7 @@
|
|||
{
|
||||
"browsertime.pageSummary": [{
|
||||
"metric": "statistics.timings.firstPaint.median",
|
||||
"max": 1000
|
||||
}, {
|
||||
"metric": "statistics.visualMetrics.FirstVisualChange.median",
|
||||
"max": 1000
|
||||
}],
|
||||
"coach.pageSummary": [{
|
||||
"metric": "advice.performance.score",
|
||||
"min": 75
|
||||
}, {
|
||||
"metric": "advice.info.domElements",
|
||||
"max": 500
|
||||
}, {
|
||||
"metric": "advice.info.domDepth.max",
|
||||
"max": 12
|
||||
}, {
|
||||
"metric": "advice.info.iframes",
|
||||
"max": 0
|
||||
}, {
|
||||
"metric": "advice.info.pageCookies.max",
|
||||
"max": 5
|
||||
}],
|
||||
"pagexray.pageSummary": [{
|
||||
"metric": "transferSize",
|
||||
"max": 200000
|
||||
}, {
|
||||
"metric": "requests",
|
||||
"max": 20
|
||||
}, {
|
||||
"metric": "missingCompression",
|
||||
"max": 0
|
||||
}, {
|
||||
"metric": "contentTypes.css.requests",
|
||||
"max": 1
|
||||
}, {
|
||||
"metric": "contentTypes.image.transferSize",
|
||||
"max": 200000
|
||||
},{
|
||||
"metric": "documentRedirects",
|
||||
"max":0
|
||||
}]
|
||||
"budget": {
|
||||
"timings": {
|
||||
"firstPaint": 5000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"browsertime.pageSummary": [{
|
||||
"metric": "statistics.timings.firstPaint.median",
|
||||
"max": 1000
|
||||
}, {
|
||||
"metric": "statistics.visualMetrics.FirstVisualChange.median",
|
||||
"max": 1000
|
||||
}],
|
||||
"coach.pageSummary": [{
|
||||
"metric": "advice.performance.score",
|
||||
"min": 75
|
||||
}, {
|
||||
"metric": "advice.info.domElements",
|
||||
"max": 500
|
||||
}, {
|
||||
"metric": "advice.info.domDepth.max",
|
||||
"max": 12
|
||||
}, {
|
||||
"metric": "advice.info.iframes",
|
||||
"max": 0
|
||||
}, {
|
||||
"metric": "advice.info.pageCookies.max",
|
||||
"max": 5
|
||||
}],
|
||||
"pagexray.pageSummary": [{
|
||||
"metric": "transferSize",
|
||||
"max": 200000
|
||||
}, {
|
||||
"metric": "requests",
|
||||
"max": 20
|
||||
}, {
|
||||
"metric": "missingCompression",
|
||||
"max": 0
|
||||
}, {
|
||||
"metric": "contentTypes.css.requests",
|
||||
"max": 1
|
||||
}, {
|
||||
"metric": "contentTypes.image.transferSize",
|
||||
"max": 200000
|
||||
},{
|
||||
"metric": "documentRedirects",
|
||||
"max":0
|
||||
}]
|
||||
}
|
||||
Loading…
Reference in New Issue