Skip to content

Commit 3d85a3c

Browse files
ashmaroliDirtyF
authored andcommitted
Allow use and testing with Jekyll 4.x (#398)
1 parent 495703c commit 3d85a3c

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
language: ruby
22
cache: bundler
3-
sudo: false
4-
rvm: 2.4
3+
rvm:
4+
- 2.6
5+
- 2.4
56

7+
before_install: gem update --system --no-document
68
install: script/bootstrap
79
script: script/cibuild
10+
11+
env:
12+
matrix:
13+
- JEKYLL_VERSION="~> 3.5"
14+
- JEKYLL_VERSION=">= 4.0.0.pre.alpha1"

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
source "https://rubygems.org"
44
gemspec
5+
6+
gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]

minima.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
1616
f.match(%r!^(assets|_(includes|layouts|sass)/|(LICENSE|README)((\.(txt|md|markdown)|$)))!i)
1717
end
1818

19-
spec.add_runtime_dependency "jekyll", "~> 3.5"
19+
spec.add_runtime_dependency "jekyll", ">= 3.5", "< 5.0"
2020
spec.add_runtime_dependency "jekyll-feed", "~> 0.9"
2121
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.1"
22-
spec.add_development_dependency "bundler", "~> 1.15"
22+
spec.add_development_dependency "bundler", ">= 1.15"
2323
end

0 commit comments

Comments
 (0)