From 87f7250dd3db17d3f745a3c93e4b60b71a29658f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 26 Mar 2020 18:33:11 +0900 Subject: [PATCH 1/2] Use GitHub Actions instead of Travis CI --- .github/workflows/ubuntu.yml | 24 ++++++++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 24 insertions(+), 8 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 f7f28f6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: ruby - -rvm: - - 2.5.5 - - 2.6.3 - - ruby-head - -script: rake test From c383c494ed6e2e20fc9eec740e21f797c5406db5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 26 Mar 2020 18:52:21 +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