Skip to content

Commit

Permalink
Add PHP to the travis matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Klishin committed Jul 25, 2013
1 parent c5d62d7 commit 5c95e69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions bin/travisci/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion travisci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5c95e69

Please sign in to comment.