ci(docs-infra): move the payload-size check to the test job (#25554)

PR Close #25554
This commit is contained in:
Pete Bacon Darwin 2018-05-10 13:38:45 +01:00 committed by Jason Aden
parent fed429b0cc
commit ced30982df

View File

@ -24,13 +24,17 @@ source ${thisDir}/_travis-fold.sh
yarn test-pwa-score-localhost
travisFoldEnd "test.aio.pwaScore"
# Check the bundle sizes.
# (Run before unit and e2e tests, which destroy the `dist/` directory.)
travisFoldStart "test.aio.payload-size"
yarn payload-size
travisFoldEnd "test.aio.payload-size"
# Run unit tests
travisFoldStart "test.aio.unit"
yarn test
travisFoldEnd "test.aio.unit"
# Run e2e tests
travisFoldStart "test.aio.e2e"
yarn e2e