1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
language: ruby
cache: bundler
rvm:
- &latest_ruby 2.6
- 2.4
matrix:
include:
# GitHub Pages
- rvm: 2.5.3
env:
- JEKYLL_VERSION="~> 3.8.5"
- GITHUB_PAGES=1 # Only set on one build in matrix
- rvm: *latest_ruby
env: JEKYLL_VERSION=">= 4.0.0"
env:
matrix:
- JEKYLL_VERSION="~> 3.8"
branches:
only:
- master
- /^v\d+\.\d+\.\d+/
git:
depth: 1000
before_install:
- gem update --system
install:
- travis_retry script/bootstrap
script: script/cibuild
notifications:
irc:
on_success: change
on_failure: change
channels:
- irc.freenode.org#jekyll
template:
- "%{repository}#%{build_number} %{message} %{build_url}"
email:
on_success: never
on_failure: change
deploy:
provider: rubygems
api_key:
secure: O8fGRnM6OJCqC2BlVE1BqYfq5aR19ulpiHhQwRiHbtSCh8H4rYt7FLsuOwSTtRQjhWYRRSpdRt2ilfQ6PY6Jx1UkxZq5zo9QAPQ9tKxiFTm7gBpZAiAgb06eyaMBSzyQ8qe2qccaFI6CiZhsiaGMsdKsWuYpuoPmdLPd7aDyYJs=
gem: jekyll-sitemap
on:
tags: true
repo: jekyll/jekyll-sitemap
condition: "$GITHUB_PAGES == 1"
|