Test Ruby 2.7 on Travis
Generated code does not yet compile, so set as allow_failure for now rvm master currently needs to be installed when testing ruby-2.7 on Travis
This commit is contained in:
parent
e7d0533a6f
commit
5259082cb1
2 changed files with 17 additions and 0 deletions
11
.travis.yml
11
.travis.yml
|
|
@ -300,6 +300,11 @@ matrix:
|
||||||
env: SWIGLANG=ruby VER=2.6
|
env: SWIGLANG=ruby VER=2.6
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
- compiler: gcc
|
||||||
|
os: linux
|
||||||
|
env: SWIGLANG=ruby VER=2.7
|
||||||
|
sudo: required
|
||||||
|
dist: xenial
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
os: linux
|
os: linux
|
||||||
env: SWIGLANG=scilab
|
env: SWIGLANG=scilab
|
||||||
|
|
@ -449,6 +454,12 @@ matrix:
|
||||||
env: SWIGLANG=php VER=7.2
|
env: SWIGLANG=php VER=7.2
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
# Not yet supported
|
||||||
|
- compiler: gcc
|
||||||
|
os: linux
|
||||||
|
env: SWIGLANG=ruby VER=2.7
|
||||||
|
sudo: required
|
||||||
|
dist: xenial
|
||||||
# Sometimes hits the Travis 50 minute time limit
|
# Sometimes hits the Travis 50 minute time limit
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
os: osx
|
os: osx
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,12 @@ case "$SWIGLANG" in
|
||||||
travis_retry sudo apt-get -qq install r-base
|
travis_retry sudo apt-get -qq install r-base
|
||||||
;;
|
;;
|
||||||
"ruby")
|
"ruby")
|
||||||
|
if [[ "$VER" == "2.7" ]]; then
|
||||||
|
# Ruby 2.7 support is currently only rvm master (30 Dec 2019)
|
||||||
|
travis_retry rvm get master
|
||||||
|
rvm reload
|
||||||
|
rvm list known
|
||||||
|
fi
|
||||||
if [[ "$VER" ]]; then
|
if [[ "$VER" ]]; then
|
||||||
travis_retry rvm install $VER
|
travis_retry rvm install $VER
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue