diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..54490038 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: ci + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - run: bundle exec rake test diff --git a/.ruby-version b/.ruby-version index 276cbf9e..a4dd9dba 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.3.0 +2.7.4 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 64f544c8..00000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -rvm: - - "--install ." -language: ruby -notifications: - irc: - channels: - - "irc.freenode.org#rvm-test" - - "irc.freenode.org#rvm" - email: false - slack: - rooms: - secure: qvIc4p+dMcKp6g0uBln2O3ZhhMt+FFRpWyUC0MIaYN0gfhEmqN9kkDzbjouQSWfDTBWRRwFFt4j5G2VziSlYFxp8OJPiQMi7DVMKJAJAzLzIlm/P984A8pa95J8q2ZBJxs8KEdZy1xaVQUyywQ+NavLHxqr9dSPc+mwkdeHwPK8= - on_success: change - on_failure: always - on_pull_requests: true