From 6193242bb208e4f660b8bf22a40398e7d832ce12 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Mon, 2 Jul 2018 10:18:39 -0700 Subject: [PATCH] tests: run the golden LHR check earlier (#5609) --- .travis.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 71dbc2ad89..d8870d064f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,10 +33,10 @@ before_script: - yarn build-all script: - yarn bundlesize + - yarn diff:sample-json - yarn lint - yarn unit:silentcoverage - yarn type-check - - yarn diff:sample-json - yarn smoke:silentcoverage - yarn test-extension - yarn test-viewer diff --git a/package.json b/package.json index 9b5ee7ddce..c06c981f19 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "debug": "node --inspect-brk ./lighthouse-cli/index.js", "start": "node ./lighthouse-cli/index.js", - "test": "yarn lint --quiet && yarn unit && yarn type-check && yarn diff:sample-json", + "test": "yarn diff:sample-json && yarn lint --quiet && yarn unit && yarn type-check", "test-extension": "cd lighthouse-extension && yarn test", "test-viewer": "cd lighthouse-viewer && yarn pptr-test", "test-lantern": "bash lighthouse-core/scripts/test-lantern.sh",