Skip to content

Commit fc62eca

Browse files
Replace Travis with Github workflows (#18)
* Replace Travis with Github workflows * Remove ruby 2.5
1 parent 0ba0d00 commit fc62eca

File tree

3 files changed

+29
-16
lines changed

3 files changed

+29
-16
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
on: [push,pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
ruby-version:
9+
- 2.0
10+
- 2.6
11+
- 2.7
12+
- 3.0
13+
- ruby-head
14+
- jruby-9.1
15+
- jruby-head
16+
name: Ruby ${{ matrix.ruby-version }} sample
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby-version }}
22+
# bundler-cache: true
23+
- run: bundle install
24+
- env:
25+
CONVERT_API_SECRET: ${{ secrets.CONVERTAPI_SECRET }}
26+
run: bundle exec rake spec

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33

44
[![Gem](https://img.shields.io/gem/v/convert_api.svg)](https://rubygems.org/gems/convert_api)
5-
[![Build Status](https://secure.travis-ci.org/ConvertAPI/convertapi-ruby.svg)](http://travis-ci.org/ConvertAPI/convertapi-ruby)
5+
[![Build Status](https://github.com/ConvertAPI/convertapi-ruby/actions/workflows/main.yml/badge.svg)](https://github.com/ConvertAPI/convertapi-ruby/actions)
6+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
7+
68

79
## Convert your files with our online file conversion API
810

0 commit comments

Comments
 (0)