Skip to content

Commit

Permalink
Merge pull request #8 from Absolventa/feature/switch_to_github_actions
Browse files Browse the repository at this point in the history
Switch to GitHub Actions
  • Loading branch information
victor authored Oct 20, 2021
2 parents 8c3463a + d45a0ae commit 21a13a4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7']
handler: ['nokogiri', 'ox', 'oga']
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
env:
HANDLER: ${{ matrix.handler }}
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🎷Saxophone

[![Build Status](https://travis-ci.org/Absolventa/saxophone.svg?branch=master)](https://travis-ci.org/Absolventa/saxophone)
[![Build Status](https://github.com/Absolventa/saxophone/actions/workflows/build.yml/badge.svg)](https://github.com/Absolventa/saxophone/actions/workflows/build.yml)

A declarative SAX parsing library backed by Nokogiri, Ox or Oga.

Expand Down

0 comments on commit 21a13a4

Please sign in to comment.