Skip to content

Commit 86e49cf

Browse files
ashmarolijekyllbot
authored andcommitted
Allow testing and using with Jekyll 4.x (#196)
Merge pull request 196
1 parent be6c5b2 commit 86e49cf

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
language: ruby
22
cache: bundler
3+
rvm:
4+
- &latest_ruby 2.6
5+
- 2.4
6+
- 2.3
7+
env:
8+
- JEKYLL_VERSION="~> 3.8"
39
matrix:
410
include:
511
- # GitHub Pages
612
rvm: 2.5.3
713
env: GH_PAGES=true
8-
rvm:
9-
- 2.6
10-
- 2.4
14+
- rvm: *latest_ruby
15+
env: JEKYLL_VERSION=">= 4.0.0.pre.alpha1"
16+
1117
before_install:
1218
- gem update --system
1319
before_script: bundle update

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ source "https://rubygems.org"
44
gemspec
55

66
gem "github-pages" if ENV["GH_PAGES"]
7+
gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]

jekyll-redirect-from.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Gem::Specification.new do |spec|
2424

2525
spec.required_ruby_version = ">= 2.3.0"
2626

27-
spec.add_runtime_dependency "jekyll", "~> 3.3"
27+
spec.add_runtime_dependency "jekyll", ">= 3.3", "< 5.0"
28+
2829
spec.add_development_dependency "bundler"
2930
spec.add_development_dependency "jekyll-sitemap", "~> 1.0"
3031
spec.add_development_dependency "rake", "~> 12.0"

0 commit comments

Comments
 (0)