Skip to content

Commit

Permalink
Use GitHub Actions instead TravisCI
Browse files Browse the repository at this point in the history
- Remove travis and add github workflows ci
- Require 'active_support/notifications' to fix uninitialized constant ActiveSupport::Notifications
  • Loading branch information
roseliux committed Oct 21, 2021
1 parent 37140c3 commit f11660e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ["2.6", "2.7", "3.0"]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Set up Ruby, bundler and dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run tests
run: bundle exec rspec

22 changes: 0 additions & 22 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,6 +1,6 @@
# Cassette::Client

[![Build Status](https://travis-ci.org/locaweb/cassette.svg)](https://travis-ci.org/locaweb/cassette)
[![Build Status](https://github.com/locaweb/cassette/actions/workflows/ci.yml/badge.svg)](https://github.com/locaweb/cassette/actions/workflows/ci.yml)

[![Test Coverage](https://codeclimate.com/github/locaweb/cassette/badges/coverage.svg)](https://codeclimate.com/github/locaweb/cassette/coverage)

Expand Down
1 change: 1 addition & 0 deletions lib/cassette/authentication/cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require 'cassette/authentication'
require 'cassette/cache'
require 'active_support/notifications'

module Cassette
class Authentication
Expand Down

0 comments on commit f11660e

Please sign in to comment.