cpanm is not available in travis' Ruby containers, exclude it

This commit is contained in:
Michael Klishin 2013-07-25 11:31:44 +04:00
parent c69002d399
commit c5d62d79d3
2 changed files with 1 additions and 8 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 perl-cpanm/.ok
setup-travisci: dotnet/.ok erlang/.ok java/.ok python/.ok ruby/.ok
test: setup
RUBY=$(RUBY) python test.py
@ -139,12 +139,6 @@ perl/.ok:
PERL_MM_USE_DEFAULT=1 cpan -i -f UUID::Tiny && \
touch .ok)
perl-cpanm/.ok:
(cd perl && \
cpanm --notest -i Net::RabbitFoot && \
cpanm --notest -i UUID::Tiny && \
touch .ok)
clean::
(cd python-puka && \
rm -rf .ok venv distribute*.tar.gz)

View File

@ -50,7 +50,6 @@ def gen(prog, arg="", **kwargs):
}
return [
('python', './venv/bin/python %(prog)s.py %(arg)s' % ctx),
('perl', 'perl %(prog)s.pl %(arg)s' % ctx),
('erlang', './%(prog)s.erl %(arg)s' % ctx),
('java', 'java -cp .:commons-io-1.2.jar:commons-cli-1.1.jar:'
'rabbitmq-client.jar %(java)s %(arg)s' % ctx),