diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..26ed780 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a8d9829..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -script: "rspec spec" -notifications: - email: - - john.crepezzi@gmail.com -branches: - only: - - master -rvm: - - 2.0.0 - - 2.1.0 - - 2.3.0 - - jruby diff --git a/README.md b/README.md index 7707051..3de42b6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ ## EasyTranslate -[![Build Status](https://secure.travis-ci.org/seejohnrun/easy_translate.png)](http://travis-ci.org/seejohnrun/easy_translate) +CI Status 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