mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
Travis: using the minimal
environment when updating starter
This commit is contained in:
parent
166c05bcd1
commit
031e878620
17
.travis.yml
17
.travis.yml
@ -3,8 +3,6 @@ dist: bionic
|
||||
language: ruby
|
||||
rvm: 2.7.0
|
||||
|
||||
before_script: git -C "$HOME" clone "$BUILDER_REPO" --depth=1 -q
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
@ -13,27 +11,30 @@ addons:
|
||||
# Overriding to drop the `--development` flag which requires the Gemfile.lock at build
|
||||
install: bundle install --jobs=3 --retry=3 --path=vendor/bundle
|
||||
|
||||
before_script: git -C "$HOME" clone "$BUILDER_REPO" --depth=1 -q
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: Deploy
|
||||
- stage: Upgrade
|
||||
git:
|
||||
depth: false # for posts' lastmod
|
||||
script: eval "$BUILD_CMD"
|
||||
- stage: Flush Starter
|
||||
- stage: Starter
|
||||
language: minimal
|
||||
install: true # skip install step
|
||||
script: eval "$FLUSH_STARTER"
|
||||
- stage: Update Docs
|
||||
- stage: Docs
|
||||
cache: bundler
|
||||
git:
|
||||
depth: false # for posts' lastmod
|
||||
script: eval "$DOCS_CMD"
|
||||
|
||||
stages:
|
||||
- name: Deploy
|
||||
- name: Upgrade
|
||||
if: branch =~ /^v(\d)+(\.(\d)+){2}$/ OR tag IS present
|
||||
- name: Flush Starter
|
||||
- name: Starter
|
||||
if: branch =~ /^v(\d)+(\.(\d)+){2}$/ OR tag IS present
|
||||
- name: Update Docs
|
||||
- name: Docs
|
||||
if: branch = docs
|
||||
|
||||
notifications:
|
||||
|
Loading…
x
Reference in New Issue
Block a user