Skip to content

Commit

Permalink
Allow use and testing with Jekyll 4.x (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmaroli authored and DirtyF committed Aug 16, 2019
1 parent 495703c commit 3d85a3c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
language: ruby
cache: bundler
sudo: false
rvm: 2.4
rvm:
- 2.6
- 2.4

before_install: gem update --system --no-document
install: script/bootstrap
script: script/cibuild

env:
matrix:
- JEKYLL_VERSION="~> 3.5"
- JEKYLL_VERSION=">= 4.0.0.pre.alpha1"
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

source "https://rubygems.org"
gemspec

gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]
4 changes: 2 additions & 2 deletions minima.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Gem::Specification.new do |spec|
f.match(%r!^(assets|_(includes|layouts|sass)/|(LICENSE|README)((\.(txt|md|markdown)|$)))!i)
end

spec.add_runtime_dependency "jekyll", "~> 3.5"
spec.add_runtime_dependency "jekyll", ">= 3.5", "< 5.0"
spec.add_runtime_dependency "jekyll-feed", "~> 0.9"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.1"
spec.add_development_dependency "bundler", "~> 1.15"
spec.add_development_dependency "bundler", ">= 1.15"
end

0 comments on commit 3d85a3c

Please sign in to comment.