summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2016-01-28 22:24:46 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2016-02-04 08:09:28 +0000
commit42c140053eda49d4e3e8e35ac37638e0692fb74e (patch)
tree8e9b49d0766ee9964801602562d7ed142d501482
parent2817e02e35d45501f3f7f87028f6b35c3e6f0491 (diff)
downloadswig-42c140053eda49d4e3e8e35ac37638e0692fb74e.tar.gz
Add ruby-2.3 testing to Travis
-rw-r--r--.travis.yml7
-rwxr-xr-xTools/travis-linux-install.sh9
2 files changed, 16 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2d174676f..2d79cc419 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -100,6 +100,9 @@ matrix:
env: SWIGLANG=ruby
- compiler: gcc
os: linux
+ env: SWIGLANG=ruby VER=2.3
+ - compiler: gcc
+ os: linux
env: SWIGLANG=scilab
- compiler: gcc
os: linux
@@ -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
diff --git a/Tools/travis-linux-install.sh b/Tools/travis-linux-install.sh
index 6c0831521..b23b2826e 100755
--- a/Tools/travis-linux-install.sh
+++ b/Tools/travis-linux-install.sh
@@ -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
;;