Fix travis for php->php5 rename

This commit is contained in:
Olly Betts 2016-12-02 13:25:28 +13:00
commit efa0c1de36
3 changed files with 5 additions and 3 deletions

View file

@ -91,7 +91,7 @@ matrix:
dist: trusty dist: trusty
- compiler: gcc - compiler: gcc
os: linux os: linux
env: SWIGLANG=php env: SWIGLANG=php5
sudo: required sudo: required
dist: trusty dist: trusty
- compiler: gcc - compiler: gcc
@ -249,7 +249,7 @@ matrix:
env: SWIGLANG=perl5 env: SWIGLANG=perl5
- compiler: clang - compiler: clang
os: osx os: osx
env: SWIGLANG=php env: SWIGLANG=php5
- compiler: clang - compiler: clang
os: osx os: osx
env: SWIGLANG=python env: SWIGLANG=python

View file

@ -15,6 +15,7 @@ def get_cflags(language, std, compiler):
"octave":"-Werror " + c_common, "octave":"-Werror " + c_common,
"perl5":"-Werror " + c_common, "perl5":"-Werror " + c_common,
"php":"-Werror " + c_common, "php":"-Werror " + c_common,
"php5":"-Werror " + c_common,
"python":"-Werror " + c_common, "python":"-Werror " + c_common,
"r":"-Werror " + c_common, "r":"-Werror " + c_common,
"ruby":"-Werror " + c_common, "ruby":"-Werror " + c_common,
@ -44,6 +45,7 @@ def get_cxxflags(language, std, compiler):
"octave":"-Werror " + cxx_common, "octave":"-Werror " + cxx_common,
"perl5":"-Werror " + cxx_common, "perl5":"-Werror " + cxx_common,
"php":"-Werror " + cxx_common, "php":"-Werror " + cxx_common,
"php5":"-Werror " + cxx_common,
"python":"-Werror " + cxx_common, "python":"-Werror " + cxx_common,
"r":"-Werror " + cxx_common, "r":"-Werror " + cxx_common,
"ruby":"-Werror " + cxx_common, "ruby":"-Werror " + cxx_common,

View file

@ -71,7 +71,7 @@ case "$SWIGLANG" in
sudo apt-get -qq install liboctave${VER}-dev sudo apt-get -qq install liboctave${VER}-dev
fi fi
;; ;;
"php") "php5")
sudo apt-get -qq install php5-cli php5-dev sudo apt-get -qq install php5-cli php5-dev
;; ;;
"python") "python")