Skip to content

Commit d16182f

Browse files
authored
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](rubygems/rubygems#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
1 parent 2f0cb8c commit d16182f

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
ruby:
17-
- 2.3.x
18-
- 2.4.x
19-
- 2.6.x
16+
ruby: ['2.4.x', '2.5.x', '2.6.x']
17+
2018
steps:
2119
- name: Checkout
2220
uses: actions/checkout@v1

.travis.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
sudo: false
22
language: ruby
33
rvm:
4-
- 2.2.10
5-
- 2.3.8
6-
- 2.4.7
7-
- 2.5.6
8-
- 2.6.4
4+
- 2.4.9
5+
- 2.5.7
6+
- 2.6.5
97
- ruby-head
108

119
matrix:
1210
allow_failures:
1311
- rvm: ruby-head
1412

1513
before_install:
16-
- gem update --system || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)
14+
- yes | gem update --system
1715
- gem update bundler
1816

1917
script:

0 commit comments

Comments
 (0)