Skip to content

Commit

Permalink
migrate CI testing from travis to GitHub Actions
Browse files Browse the repository at this point in the history
travis-ci.org has gone.
This PR migrate the CI from travis to GitHub Actions.

closes: capistrano#504
  • Loading branch information
colorbox committed Feb 1, 2023
1 parent 1897fdd commit 8823d31
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: test on CI
on:
push:
branches: [ master ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, 3.0, 3.1, 3.2, head]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake test:units lint
20 changes: 0 additions & 20 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
Expand Up @@ -4,7 +4,7 @@
more servers.

[![Gem Version](https://badge.fury.io/rb/sshkit.svg)](https://rubygems.org/gems/sshkit)
[![Build Status](https://travis-ci.org/capistrano/sshkit.svg?branch=master)](https://travis-ci.org/capistrano/sshkit)
[![test on CI](https://github.com/capistrano/sshkit/actions/workflows/test.yml/badge.svg)](https://github.com/capistrano/sshkit/actions/workflows/test.yml)

## Example

Expand Down

0 comments on commit 8823d31

Please sign in to comment.