From 5dbc6ff587d172ade733c4a38e0085277fdabfc6 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 26 Mar 2020 18:27:23 +0900 Subject: [PATCH 1/2] Use GitHub Actions instead of Travis CI --- .github/workflows/ubuntu.yml | 24 ++++++++++++++++++++++++ .travis.yml | 7 ------- 2 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/ubuntu.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml new file mode 100644 index 0000000..3ff7008 --- /dev/null +++ b/.github/workflows/ubuntu.yml @@ -0,0 +1,24 @@ +name: ubuntu + +on: [push, pull_request] + +jobs: + build: + name: build (${{ matrix.ruby }} / ${{ matrix.os }}) + strategy: + matrix: + ruby: [ 2.7, 2.6, 2.5, 2.4, head ] + os: [ ubuntu-latest, macos-latest ] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@master + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Install dependencies + run: | + gem install bundler --no-document + bundle install + - name: Run test + run: rake test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e932031..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -sudo: false -language: ruby -cache: bundler -rvm: - - 2.6.3 -before_install: gem install bundler -v 2.0.2 From 545b93f6ad86b04ca362695df557f6e67fd3a013 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 26 Mar 2020 18:51:33 +0900 Subject: [PATCH 2/2] Rename --- .github/workflows/{ubuntu.yml => test.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ubuntu.yml => test.yml} (100%) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/ubuntu.yml rename to .github/workflows/test.yml