diff options
author | Sutou Kouhei <kou@clear-code.com> | 2020-12-24 06:34:18 +0900 |
---|---|---|
committer | Sutou Kouhei <kou@clear-code.com> | 2020-12-24 06:34:18 +0900 |
commit | a3ef7bb038bbe8352a2474046d0c279f0dc945bf (patch) | |
tree | e789bc090ebad20ea241c77090949c0478fdc47f | |
parent | 15f630adc4325f9cafb762e15a051c2ec8bd21e2 (diff) | |
download | rake-compiler-a3ef7bb038bbe8352a2474046d0c279f0dc945bf.tar.gz |
ci: move to GitHub Actions from Travis CI
Thanks Travis CI!
-rw-r--r-- | .github/workflows/test.yml | 29 | ||||
-rw-r--r-- | .travis.yml | 11 |
2 files changed, 29 insertions, 11 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3fc51ae --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: Test + +on: + - push + - pull_request + +jobs: + test: + name: ${{ matrix.os }} ${{ matrix.ruby }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - macos-latest + - ubuntu-latest + ruby: + - 2.5 + - 2.6 + - 2.7 + - head + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - run: bundle install + - run: bundle exec rake test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8f42117..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: ruby -notifications: - webhooks: - - https://webhook.commit-email.info/ -before_script: - - gem update bundler -rvm: - - 2.4 - - 2.5 - - 2.6 - - ruby-head |