From fbb5c3337d6eefa974ae2760de9bce81e82a3c24 Mon Sep 17 00:00:00 2001 From: Julik Tarkhanov Date: Sat, 28 Dec 2024 17:28:17 +0000 Subject: [PATCH] Switch from Travis to GH actions (#58) --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ .travis.yml | 17 ----------------- 2 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c235b87 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + - push + +env: + BUNDLE_PATH: vendor/bundle + +jobs: + test: + name: Tests + runs-on: ubuntu-22.04 + strategy: + matrix: + ruby: + - '2.6' + - '3.2' + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: "Tests" + run: bundle exec rake diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cc1636f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: ruby - -os: linux -dist: xenial -cache: bundler - -before_install: - - gem install bundler -v '~> 1.15' --conservative --minimal-deps - -rvm: - - 2.1.10 - - 2.2.10 - - 2.3.8 - - 2.4.10 - - 2.5.8 - - 2.6.6 - - 2.7.1