Merge pull request #606 from ahnolds/ruby2.3
Travis uses rvm, use it to install ruby 2.3.0
This commit is contained in:
commit
439f049115
2 changed files with 2 additions and 9 deletions
|
|
@ -100,9 +100,7 @@ matrix:
|
||||||
env: SWIGLANG=ruby
|
env: SWIGLANG=ruby
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
os: linux
|
os: linux
|
||||||
env: SWIGLANG=ruby VER=2.3
|
env: SWIGLANG=ruby VER=2.3.0
|
||||||
sudo: required
|
|
||||||
dist: trusty
|
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
os: linux
|
os: linux
|
||||||
env: SWIGLANG=scilab
|
env: SWIGLANG=scilab
|
||||||
|
|
|
||||||
|
|
@ -93,12 +93,7 @@ case "$SWIGLANG" in
|
||||||
;;
|
;;
|
||||||
"ruby")
|
"ruby")
|
||||||
if [[ "$VER" ]]; then
|
if [[ "$VER" ]]; then
|
||||||
sudo apt-get -qq install python-software-properties
|
rvm install $VER
|
||||||
sudo add-apt-repository -y ppa:brightbox/ruby-ng
|
|
||||||
sudo apt-get -qq update
|
|
||||||
sudo apt-get -qq install ruby2.3 ruby2.3-dev
|
|
||||||
# sudo gem pristine --all # Results in: You don't have write permissions for the /var/lib/gems/2.3.0 directory
|
|
||||||
WITHLANG=$SWIGLANG=$SWIGLANG$VER
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"scilab")
|
"scilab")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue