ci(aio): fail the build if the PWA score is too low

Previously, there was an issue with testing the PWA score on staging and failing
the build was temporarily disabled. It works now, so we need to enable failing
the build is the score drops below some threshold.
This commit is contained in:
Georgios Kalpakas 2017-06-13 02:23:11 +03:00 committed by Alex Rickabaugh
parent 2bdf2feea7
commit d378a29565
1 changed files with 1 additions and 2 deletions

View File

@ -36,6 +36,5 @@ esac
firebase deploy --message "Commit: $TRAVIS_COMMIT" --non-interactive --token "$firebaseToken"
# Run PWA-score tests
# TODO(gkalpak): Figure out why this fails and re-enable.
yarn test-pwa-score -- "$deployedUrl" "$MIN_PWA_SCORE" "$PWA_RESULTS_LOG" || true
yarn test-pwa-score -- "$deployedUrl" "$MIN_PWA_SCORE" "$PWA_RESULTS_LOG"
)