Skip to content

Commit

Permalink
Remove Travis CI in favour of Github Workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
vkononov authored Sep 16, 2022
1 parent eefde4d commit 8419a05
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 12 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.

name: test

on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: ['3.1', '3.0', '2.7', '2.6', '2.5', '2.4']

steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@ Style/FrozenStringLiteralComment:
Style/GuardClause:
Enabled: false

Style/HashSyntax:
Enabled: false

Style/MutableConstant:
Enabled: false
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# FillablePDF

[![Gem Version](https://badge.fury.io/rb/fillable-pdf.svg)](https://rubygems.org/gems/fillable-pdf)
[![Build Status](https://app.travis-ci.com/vkononov/fillable-pdf.svg?branch=master)](http://travis-ci.org/vkononov/fillable-pdf)
[![Test Status](https://github.com/vkononov/fillable-pdf/actions/workflows/test.yml/badge.svg)](https://github.com/vkononov/fillable-pdf/actions)

FillablePDF is an extremely simple and lightweight utility that bridges iText and Ruby in order to fill out fillable PDF forms or extract field values from previously filled out PDF forms.

Expand All @@ -22,6 +22,8 @@ FillablePDF is an extremely simple and lightweight utility that bridges iText an

4. Read-only, write-protected or encrypted PDF files are currently not supported.

5. Adobe generated field arrays (i.e. fields with names such as `array.0` or `array.1.0`) are not supported.


## Installation

Expand Down
2 changes: 1 addition & 1 deletion lib/fillable-pdf/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class FillablePDF
VERSION = '0.9.4'
VERSION = '0.9.5'
end

0 comments on commit 8419a05

Please sign in to comment.