From e3ce220f58ae0bc7bb8d658440980e0e5edb2e33 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 5 Dec 2019 20:56:00 +0900 Subject: [PATCH] Use GitHub Actions instead of Travis CI. --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ .travis.yml | 14 -------------- README.md | 2 -- 3 files changed, 27 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..bf770bc --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: test + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + ruby: [head, 2.6.0, 2.5.3, 2.4.5, 2.3.8] + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + + - name: Install dependencies + run: bundle install + + - name: Run tests + run: rake + continue-on-error: matrix.ruby == '2.3.8' || matrix.ruby == '2.4.5' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index eac2209..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -sudo: false -language: ruby -rvm: - - 2.3.8 - - 2.4.5 - - 2.5.3 - - 2.6.0 - - ruby-head -before_install: gem install bundler -script: rake -matrix: - allow_failures: - - rvm: 2.3.8 - - rvm: 2.4.5 diff --git a/README.md b/README.md index c11b8cc..c30fb1c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Webrick -[![Build Status](https://travis-ci.org/ruby/webrick.svg?branch=master)](https://travis-ci.org/ruby/webrick) - WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server. WEBrick features complete logging of both server operations and HTTP access.