diff --git a/aio/scripts/test-pwa-score.js b/aio/scripts/test-pwa-score.js index dda2fb14dd..80d4601215 100644 --- a/aio/scripts/test-pwa-score.js +++ b/aio/scripts/test-pwa-score.js @@ -24,10 +24,14 @@ const SKIPPED_HTTPS_AUDITS = ['redirects-http']; const VIEWER_URL = 'https://googlechrome.github.io/lighthouse/viewer/'; -// Specify the path and flags for Chrome on Travis +// Specify the path and flags for Chrome on Travis. if (process.env.TRAVIS) { process.env.LIGHTHOUSE_CHROMIUM_PATH = process.env.CHROME_BIN; CHROME_LAUNCH_OPTS.chromeFlags = ['--no-sandbox']; +} + +// Be less verbose on CI. +if (process.env.CI) { LIGHTHOUSE_FLAGS.logLevel = 'error'; }