Skip to content

Commit

Permalink
Use GitHub action instead of Travis for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeck committed Nov 9, 2020
1 parent 6a44fbe commit 0de1ff5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 32 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.3
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
31 changes: 0 additions & 31 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
@@ -1,5 +1,5 @@
# MyLibrary
[![Build Status](https://travis-ci.org/sul-dlss/mylibrary.svg?branch=master)](https://travis-ci.org/sul-dlss/mylibrary)
[![Build Status](https://github.com/sul-dlss/mylibrary/workflows/CI/badge.svg?branch=master)](https://github.com/sul-dlss/mylibrary/actions?query=workflow%3ACI+branch%3Amaster)
[![Code Climate](https://codeclimate.com/github/sul-dlss/mylibrary/badges/gpa.svg)](https://codeclimate.com/github/sul-dlss/mylibrary)
[![Test Coverage](https://api.codeclimate.com/v1/badges/a8f1c5dab3a53ffba586/test_coverage)](https://codeclimate.com/github/sul-dlss/mylibrary/test_coverage)

Expand Down

0 comments on commit 0de1ff5

Please sign in to comment.