Skip to content

Commit

Permalink
Merge branch 'master' into fix-build
Browse files Browse the repository at this point in the history
  • Loading branch information
seejohnrun committed Apr 2, 2024
2 parents e59d8ec + 07ee415 commit da988a3
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 13 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test
on:
push:
branches: ['*']
pull_request:
branches: ['*']

jobs:
test_sqlite:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
### TEST ALL RUBY VERSIONS
- ruby: 2.3 ### min version supported by Bundler 2.x, ruby: 2.3
- ruby: 2.4
- ruby: 2.5
- ruby: 2.6
- ruby: 2.7
- ruby: "3.0" ### must be quoted otherwise will be treated as "3" which resolves to latest 3.x version
- ruby: 3.1

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"

steps:
- uses: actions/checkout@v2

- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"

- name: Bundle
run: |
gem install bundler
bundle install
- name: Run tests
run: |
bundle exec rake
12 changes: 0 additions & 12 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
@@ -1,10 +1,12 @@
## EasyTranslate

[![Build Status](https://secure.travis-ci.org/seejohnrun/easy_translate.png)](http://travis-ci.org/seejohnrun/easy_translate)
<a href='https://github.com/seejohnrun/easy_translate/actions' target='_blank'><img src="https://github.com/seejohnrun/easy_translate/workflows/Test/badge.svg" style="max-width:100%;" height='21' style='border:0px;height:21px;' border='0' alt="CI Status"></a>

This is a Ruby library for Google Translate that makes working with bulk calls,
user_ips and access via API Key easy.

Unlike the official google client, `easy_translate` does not have a dependency on the `grpc` gem. This is a huge advantage because `grpc` can be extremely difficult to install on some systems or configurations.

---

### Installation
Expand Down

0 comments on commit da988a3

Please sign in to comment.