diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..53306dc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI +on: [push, pull_request] +jobs: + test: + strategy: + matrix: + ruby: [jruby, 2.3, 2.4, 2.5, 2.6, 2.7] + os: [ubuntu-latest, macos-latest] # TODO: windows-latest + include: + - ruby: 2.7 + os: ubuntu-latest + pipeline: pipeline + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Enable pipeline dependency + if: matrix.pipeline + run: echo 'TRAVIS_MATRIX=pipeline' >> $GITHUB_ENV + - run: gem install hoe-travis --no-document + - run: rake travis:before -t + - name: Test + run: rake travis + - run: rake travis:after -t diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index be3eb2f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -after_script: -- rake travis:after -t -before_script: -- gem install hoe-travis --no-document -- rake travis:before -t -language: ruby -notifications: - email: - - drbrain@segment7.net -rvm: -- 2.3 -- 2.4 -- 2.5 -- 2.6 -- 2.7 -script: rake travis -install: "" # avoid running default bundler install - -matrix: - include: - - rvm: "2.7" - env: TRAVIS_MATRIX=pipeline diff --git a/Manifest.txt b/Manifest.txt index a1cefb3..1ce4fa1 100644 --- a/Manifest.txt +++ b/Manifest.txt @@ -1,6 +1,5 @@ .autotest .gemtest -.travis.yml Gemfile History.txt Manifest.txt