Skip to content

Commit 1580671

Browse files
authored
Set up CI for 2.5-stable branch (#800)
Merge pull request 800
1 parent 38a84a9 commit 1580671

File tree

3 files changed

+30
-14
lines changed

3 files changed

+30
-14
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Continuous Integration
2+
on:
3+
push:
4+
branches:
5+
- "2.5-stable"
6+
pull_request:
7+
branches:
8+
- "2.5-stable"
9+
jobs:
10+
build:
11+
name: "Test with Jekyll ${{ matrix.jekyll }} (Ruby ${{ matrix.ruby }})"
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
jekyll: ["~> 3.9", "~> 4.2"]
17+
ruby: ["2.7", "3.3"]
18+
env:
19+
JEKYLL_VERSION: ${{ matrix.jekyll }}
20+
steps:
21+
- name: Checkout Repository
22+
uses: actions/checkout@v2
23+
- name: "Set Up Ruby ${{ matrix.ruby }}"
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ matrix.ruby }}
27+
bundler-cache: true
28+
- name: Run tests
29+
run: script/cibuild

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

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 "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]
7+
gem "kramdown-parser-gfm" if ENV["JEKYLL_VERSION"] == "~> 3.9"

0 commit comments

Comments
 (0)