mirror of
https://github.com/vmg/redcarpet.git
synced 2026-01-10 07:07:57 -05:00
Move CI to GitHub Actions
Closes #725. Closes #726. Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
This commit is contained in:
committed by
Robin Dupret
parent
3e3f0b522f
commit
14d3c28e32
36
.github/workflows/test.yml
vendored
Normal file
36
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
name: test
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
matrix:
|
||||
ruby-version:
|
||||
- '2.3'
|
||||
- '2.4'
|
||||
- '2.5'
|
||||
- '2.6'
|
||||
- '2.7'
|
||||
- '3.0'
|
||||
- '3.1'
|
||||
- '3.2'
|
||||
- '3.3'
|
||||
- ruby-head
|
||||
|
||||
steps:
|
||||
- run: sudo apt-get install -y tidy tcl tk
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby-version }}
|
||||
bundler-cache: true
|
||||
continue-on-error: ${{ matrix.ruby-version == 'ruby-head' }}
|
||||
|
||||
- run: bundle exec rake
|
||||
continue-on-error: ${{ matrix.ruby-version == 'ruby-head' }}
|
||||
30
.travis.yml
30
.travis.yml
@@ -1,30 +0,0 @@
|
||||
sudo: false
|
||||
dist: trusty
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- tidy
|
||||
- tcl
|
||||
- tk
|
||||
|
||||
install: bundle install --without=benchmark
|
||||
|
||||
rvm:
|
||||
- 1.9.3
|
||||
- 2.0.0
|
||||
- 2.1
|
||||
- 2.2
|
||||
- 2.3
|
||||
- 2.4
|
||||
- 2.5
|
||||
- 2.6
|
||||
- 2.7
|
||||
- ruby-head
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rvm: ruby-head
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
Reference in New Issue
Block a user