From 5c95e69251c0d23ee73091340ae2e7ad231a5dff Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Thu, 25 Jul 2013 11:42:25 +0400 Subject: [PATCH] Add PHP to the travis matrix --- Makefile | 2 +- bin/travisci/before_install.sh | 3 +++ travisci.py | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 108d8db..8aad6c0 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ all: # setup: dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby-amqp/.ok ruby/.ok python-puka/.ok perl/.ok -setup-travisci: dotnet/.ok erlang/.ok java/.ok python/.ok ruby/.ok +setup-travisci: dotnet/.ok erlang/.ok java/.ok python/.ok ruby/.ok php/.ok test: setup RUBY=$(RUBY) python test.py diff --git a/bin/travisci/before_install.sh b/bin/travisci/before_install.sh index b4378aa..47a8b9f 100755 --- a/bin/travisci/before_install.sh +++ b/bin/travisci/before_install.sh @@ -7,3 +7,6 @@ sudo apt-get install -y mono-gmcs mono-xbuild mono-devel mono-runtime # Python sudo apt-get install -y python-virtualenv + +# PHP +sudo apt-get install -y php5-cli diff --git a/travisci.py b/travisci.py index fec450c..d9dd639 100755 --- a/travisci.py +++ b/travisci.py @@ -55,7 +55,8 @@ def gen(prog, arg="", **kwargs): 'rabbitmq-client.jar %(java)s %(arg)s' % ctx), ('dotnet', 'env MONO_PATH=lib/bin mono %(dotnet)s.exe %(arg)s' % ctx), ('ruby', 'env RUBYOPT=-rubygems GEM_HOME=gems/gems RUBYLIB=gems/lib ' - '%(ruby)s %(prog)s.rb %(arg)s' % ctx) + '%(ruby)s %(prog)s.rb %(arg)s' % ctx), + ('php', 'php %(prog)s.php %(arg)s' % ctx) ] def skip(cwd_cmd, to_skip):