Add PHP to the travis matrix

This commit is contained in:
Michael Klishin 2013-07-25 11:42:25 +04:00
parent c5d62d79d3
commit 5c95e69251
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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):