Add ruby-2.3 testing to Travis

This commit is contained in:
William S Fulton 2016-01-28 22:24:46 +00:00
commit 42c140053e
2 changed files with 16 additions and 0 deletions

View file

@ -98,6 +98,9 @@ matrix:
- compiler: gcc
os: linux
env: SWIGLANG=ruby
- compiler: gcc
os: linux
env: SWIGLANG=ruby VER=2.3
- compiler: gcc
os: linux
env: SWIGLANG=scilab
@ -162,6 +165,10 @@ matrix:
- compiler: gcc
os: linux
env: SWIGLANG=python SWIG_FEATURES=-O
# Not quite working yet
- compiler: gcc
os: linux
env: SWIGLANG=ruby VER=2.3
before_install:
- date -u
- uname -a

View file

@ -85,6 +85,15 @@ case "$SWIGLANG" in
"r")
sudo apt-get -qq install r-base
;;
"ruby")
if [[ "$VER" ]]; then
sudo apt-get install python-software-properties
sudo add-apt-repository -y ppa:brightbox/ruby-ng
sudo apt-get -qq update
sudo apt-get -qq install ruby2.3 ruby2.3-dev
CONFIGOPTS+=("--with-ruby=ruby${VER}");
fi
;;
"scilab")
sudo apt-get -qq install scilab
;;