Skip to content

Commit

Permalink
Allow testing on ancient rubies, sigh
Browse files Browse the repository at this point in the history
  • Loading branch information
flori committed Jun 22, 2024
1 parent d03bef2 commit de5da7d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .all_images.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
dockerfile: |-
RUN apk add --no-cache build-base git
RUN gem update --system
RUN gem install gem_hadar bundler
RUN apk add --no-cache build-base git bash
RUN bash <<NUR
if [[ "$(ruby -e 'print RUBY_VERSION')" > '3' ]]
then
gem update --system
gem install gem_hadar bundler
else
gem install gem_hadar
gem install bundler -v 2.4.22
fi
NUR
script: &script |-
echo -e "\e[1m"
Expand All @@ -15,3 +23,5 @@ images:
ruby:3.2-alpine: *script
ruby:3.1-alpine: *script
ruby:3.0-alpine: *script
ruby:2.7-alpine: *script
ruby:2.6-alpine: *script

0 comments on commit de5da7d

Please sign in to comment.