From 90e1a0e43e6f4078e3d00d86490c05a5cc271da8 Mon Sep 17 00:00:00 2001 From: Bensoncasey7 Date: Fri, 22 Oct 2021 23:34:53 -0500 Subject: [PATCH] Replace travis with github actions --- .github/workflows/ruby.yml | 19 +++++++++++++++++++ .travis.yml | 15 --------------- 2 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/ruby.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..d857a5d --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,19 @@ +name: Ruby +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.4.0 + - name: Install dependencies + run: bundle install + - name: Run tests + run: bin/rspec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f650016..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: ruby -services: - - redis-server -before_install: gem install bundler -v 1.10.6 -install: bundle install -j 4 --retry 3 -script: - - bin/rspec - -matrix: - include: - - rvm: "2.0.0" - - rvm: "2.1.7" - - rvm: "2.2.4" - - rvm: "2.3.0" - - rvm: "2.4.0"