Unverified Commit d16182f6 by Andrew W. Lee Committed by GitHub

Upgrade and fix CI (#698)

Looks like it's breaking in Github CI because Ruby 2.3.X is no longer supported by `actions/setup-ruby@v1`. Ruby 2.3.X has stopped being supported since March of 2019, so I've removed Ruby 2.3.X versions from both Github and Travis CI. It's also breaking in Travis CI because it's timing out in an interactive prompt when trying to do `gem update --system`. This is due to changes to [Ruby Gems 3.1.1](https://github.com/rubygems/rubygems/issues/3036). This has been fixed. Failing Github CI build: https://github.com/ctran/annotate_models/runs/335456181 Failing Travis build: https://api.travis-ci.org/v3/job/625759725/log.txt
parent 2f0cb8cb
...@@ -13,10 +13,8 @@ jobs: ...@@ -13,10 +13,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
ruby: ruby: ['2.4.x', '2.5.x', '2.6.x']
- 2.3.x
- 2.4.x
- 2.6.x
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
......
sudo: false sudo: false
language: ruby language: ruby
rvm: rvm:
- 2.2.10 - 2.4.9
- 2.3.8 - 2.5.7
- 2.4.7 - 2.6.5
- 2.5.6
- 2.6.4
- ruby-head - ruby-head
matrix: matrix:
...@@ -13,7 +11,7 @@ matrix: ...@@ -13,7 +11,7 @@ matrix:
- rvm: ruby-head - rvm: ruby-head
before_install: before_install:
- gem update --system || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems) - yes | gem update --system
- gem update bundler - gem update bundler
script: script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment