new browsertime beta!

This commit is contained in:
soulgalore 2016-11-11 23:44:39 +01:00
parent ca09ce7892
commit e1f6e110ef
3 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,7 @@
FROM sitespeedio/webbrowsers:firefox-49.0-chrome-54.0
ENV SITESPEED_IO_BROWSERTIME__XVFB true
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

View File

@ -6,8 +6,4 @@ firefox --version
MAX_OLD_SPACE_SIZE="${MAX_OLD_SPACE_SIZE:-2048}"
echo 'Starting Xvfb ...'
export DISPLAY=:99
2>/dev/null 1>&2 Xvfb :99 -ac -nolisten tcp -screen 0 1500x1200x16 &
sleep 1
exec node --max-old-space-size=$MAX_OLD_SPACE_SIZE /usr/src/app/bin/sitespeed.js "$@"

View File

@ -64,7 +64,7 @@
"main": "./lib/sitespeed.js",
"dependencies": {
"bluebird": "3.4.6",
"browsertime": "1.0.0-beta.9",
"browsertime": "1.0.0-beta.10",
"cli-color": "1.1.0",
"concurrent-queue": "7.0.1",
"fast-stats": "0.0.3",
@ -95,7 +95,7 @@
"simplecrawler": "1.0.1",
"tape": "4.6.2",
"text-table": "0.2.0",
"webcoach": "0.28.4",
"webcoach": "0.29.0",
"webpagetest": "0.3.4",
"yargs": "5.0.0"
}