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

This commit is contained in:
Pete Bacon Darwin 2018-05-10 13:38:45 +01:00
parent 3b8b7f4087
commit a800a5118a
1 changed files with 5 additions and 1 deletions

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