File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,9 @@ jobs:
176
176
- SWIGLANG : ruby
177
177
VER : ' 3.0'
178
178
CPPSTD : c++11
179
+ - SWIGLANG : ruby
180
+ VER : ' 3.1'
181
+ CPPSTD : c++11
179
182
- SWIGLANG : scilab
180
183
VER : ' 5.5.2'
181
184
- SWIGLANG : scilab
Original file line number Diff line number Diff line change @@ -131,12 +131,16 @@ case "$SWIGLANG" in
131
131
source $HOME /.rvm/scripts/rvm
132
132
set -x
133
133
fi
134
- if [[ " $VER " == " 2.7" || " $VER " == " 3.0" ]]; then
135
- # Ruby 2.7+ support is currently only rvm master (30 Dec 2019)
136
- $RETRY rvm get master
137
- rvm reload
138
- rvm list known
139
- fi
134
+ case " $VER " in
135
+ 2.7 | 3.0 | 3.1 )
136
+ # Ruby 2.7+ support is currently only rvm master (30 Dec 2019)
137
+ set +x
138
+ $RETRY rvm get master
139
+ rvm reload
140
+ rvm list known
141
+ set -x
142
+ ;;
143
+ esac
140
144
if [[ " $VER " ]]; then
141
145
$RETRY rvm install $VER
142
146
fi
You can’t perform that action at this time.
0 commit comments