Move Scilab Travis testing from trusty to xenial

This commit is contained in:
William S Fulton 2019-05-07 23:05:53 +01:00
commit f06330e720
2 changed files with 5 additions and 1 deletions

View file

@ -285,7 +285,7 @@ matrix:
os: linux
env: SWIGLANG=scilab
sudo: required
dist: trusty
dist: xenial
- compiler: gcc
os: linux
env: SWIGLANG=tcl

View file

@ -114,6 +114,10 @@ case "$SWIGLANG" in
fi
;;
"scilab")
# Travis has the wrong version of Java pre-installed resulting in error using scilab:
# /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory
echo "JAVA_HOME was set to $JAVA_HOME"
unset JAVA_HOME
travis_retry sudo apt-get -qq install scilab
;;
"tcl")