Travis Trusty testing fix ups

Go back to Travis testing nodejs on Precise - can't seem to avoid
node-gyp incompatibility that does not happens in normal Ubuntu Trusty.
Ruby and Python 3.4 testing corrections for testing on Travis.
This commit is contained in:
William S Fulton 2016-10-16 16:24:46 +01:00
commit a147e7bf5a
2 changed files with 12 additions and 6 deletions

View file

@ -55,8 +55,6 @@ matrix:
- compiler: gcc
os: linux
env: SWIGLANG=javascript ENGINE=node
sudo: required
dist: trusty
- compiler: gcc
os: linux
env: SWIGLANG=javascript ENGINE=jsc
@ -128,7 +126,7 @@ matrix:
dist: trusty
- compiler: gcc
os: linux
env: SWIGLANG=python PY3=3 # 3.4
env: SWIGLANG=python PY3=3 VER=3.4
sudo: required
dist: trusty
- compiler: gcc
@ -148,7 +146,7 @@ matrix:
dist: trusty
- compiler: gcc
os: linux
env: SWIGLANG=python SWIG_FEATURES=-builtin PY3=3 # 3.4
env: SWIGLANG=python SWIG_FEATURES=-builtin PY3=3 VER=3.4
sudo: required
dist: trusty
- compiler: gcc
@ -178,7 +176,12 @@ matrix:
dist: trusty
- compiler: gcc
os: linux
env: SWIGLANG=ruby
env: SWIGLANG=ruby VER=1.9.3
sudo: required
dist: trusty
- compiler: gcc
os: linux
env: SWIGLANG=ruby VER=2.0.0
sudo: required
dist: trusty
- compiler: gcc

View file

@ -33,7 +33,10 @@ case "$SWIGLANG" in
"javascript")
case "$ENGINE" in
"node")
sudo apt-get install -qq nodejs node-gyp
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
;;
"jsc")
sudo apt-get install -qq libwebkitgtk-dev