Migrate Linux Travis testing from Precise to Trusty

Default gcc compiler changes from gcc-4.6.3 to gcc-4.8.4
Migrate target languages except Octave for which there are no equivalent
packages for 3.2 and 4.0
Still test gcc on Precise (errors test-suite only)
This commit is contained in:
William S Fulton 2016-10-16 15:38:36 +01:00
commit 3cd70db8ec
2 changed files with 81 additions and 17 deletions

View file

@ -33,10 +33,7 @@ case "$SWIGLANG" in
"javascript")
case "$ENGINE" in
"node")
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get -qq update
sudo apt-get install -qq nodejs rlwrap
sudo npm install -g node-gyp
sudo apt-get install -qq nodejs node-gyp
;;
"jsc")
sudo apt-get install -qq libwebkitgtk-dev
@ -51,7 +48,7 @@ case "$SWIGLANG" in
;;
"lua")
if [[ -z "$VER" ]]; then
sudo apt-get -qq install lua5.1 liblua5.1-dev
sudo apt-get -qq install lua5.2 liblua5.2-dev
else
sudo add-apt-repository -y ppa:ubuntu-cloud-archive/mitaka-staging
sudo apt-get -qq update
@ -72,16 +69,10 @@ case "$SWIGLANG" in
fi
;;
"php")
sudo apt-get install php5-cli php5-dev
sudo apt-get -qq install php5-cli php5-dev
;;
"python")
git clone https://github.com/jcrocholl/pep8.git
(
cd pep8
git checkout tags/1.5.7
python ./setup.py build
sudo python ./setup.py install
)
sudo apt-get -qq install pep8
if [[ "$PY3" ]]; then
sudo apt-get install -qq python3-dev
fi
@ -105,7 +96,7 @@ case "$SWIGLANG" in
sudo apt-get -qq install scilab
;;
"tcl")
sudo apt-get -qq install tcl8.4-dev
sudo apt-get -qq install tcl-dev
;;
esac