Skip to content

Commit 5c95e69

Browse files
author
Michael Klishin
committed
Add PHP to the travis matrix
1 parent c5d62d7 commit 5c95e69

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ all:
3333
#
3434
setup: dotnet/.ok erlang/.ok java/.ok python/.ok php/.ok ruby-amqp/.ok ruby/.ok python-puka/.ok perl/.ok
3535

36-
setup-travisci: dotnet/.ok erlang/.ok java/.ok python/.ok ruby/.ok
36+
setup-travisci: dotnet/.ok erlang/.ok java/.ok python/.ok ruby/.ok php/.ok
3737

3838
test: setup
3939
RUBY=$(RUBY) python test.py

bin/travisci/before_install.sh

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ sudo apt-get install -y mono-gmcs mono-xbuild mono-devel mono-runtime
77

88
# Python
99
sudo apt-get install -y python-virtualenv
10+
11+
# PHP
12+
sudo apt-get install -y php5-cli

travisci.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ def gen(prog, arg="", **kwargs):
5555
'rabbitmq-client.jar %(java)s %(arg)s' % ctx),
5656
('dotnet', 'env MONO_PATH=lib/bin mono %(dotnet)s.exe %(arg)s' % ctx),
5757
('ruby', 'env RUBYOPT=-rubygems GEM_HOME=gems/gems RUBYLIB=gems/lib '
58-
'%(ruby)s %(prog)s.rb %(arg)s' % ctx)
58+
'%(ruby)s %(prog)s.rb %(arg)s' % ctx),
59+
('php', 'php %(prog)s.php %(arg)s' % ctx)
5960
]
6061

6162
def skip(cwd_cmd, to_skip):

0 commit comments

Comments
 (0)