chore(travis): enable the cache in `production` build

This commit is contained in:
Cotes Chung 2022-10-07 15:37:48 +08:00
parent 80cb0b3717
commit 76712c09cd
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808
1 changed files with 3 additions and 0 deletions

View File

@ -16,13 +16,16 @@ before_script: git -C "$HOME" clone "$BUILDER_REPO" --depth=1 -q
jobs: jobs:
include: include:
- stage: Upgrade - stage: Upgrade
cache: bundler
git: git:
depth: false # for posts' lastmod depth: false # for posts' lastmod
script: eval "$BUILD_CMD" script: eval "$BUILD_CMD"
- stage: Starter - stage: Starter
language: minimal language: minimal
install: true # skip install step install: true # skip install step
script: eval "$FLUSH_STARTER" script: eval "$FLUSH_STARTER"
- stage: Docs - stage: Docs
cache: bundler cache: bundler
git: git: