Fix .travis.yml so that it is valid YAML travis can parse #19

Merged
merged 1 commit into from Mar 14, 2012

Conversation

Projects
None yet
2 participants
Contributor

michaelklishin commented Mar 13, 2012

Please use lint.travis-ci.org (see this doc guide).

Contributor

michaelklishin commented on ccbbc2b Mar 13, 2012

To clarify: there were tabs in the file. YAML requires you to use (commonly two) spaces for indentation in arrays.

melo merged commit 276f6ca into PerlRedis:master Mar 14, 2012

Owner

melo commented Mar 14, 2012

Thanks @michaelklishin

I really hate white-space-based formats :(

Contributor

michaelklishin commented Mar 14, 2012

Now you have build matrix with Perls but cpanm --quiet --installdeps --notest . exits with non-0. You can override install: to not use --quiet:

install: cpanm --installdeps --notest .

or do any other dependency installation routine your project needs.

Owner

melo commented Mar 14, 2012

I'll try that, but the problem is probably related to the fact that I'm using Dist::Zilla, and not the standard setup for a Perl module.

When I run dzil release on my laptop, Dist::Zilla creates all the boilerplate that Perl modules require, and then it packs that and submits the final tarball to PAUSE.

But that boilerplate is not on my repo, given that its easly generated. And cpanm --installdeps expects it to be there.

I believe I can have a Dist::Zilla plugin push to git the final build result, with the full boilerplate. If I can convince travis-ci to watch a particular branch, my problems will be solved. I'll need to study this a bit more.

Thank you for your time debugging this. I will try your suggestion to override install to make sure I'm on the right track though.

Contributor

michaelklishin commented Mar 14, 2012

There is a project using Dist::Zilla and we will probably preinstall it soon.

Contributor

michaelklishin commented Mar 14, 2012

travis-ci will build all branches github fires hooks for. This also means that .travis.yml needs to be on all active branches.

Owner

melo commented Mar 14, 2012

Looking at the project you mentioned, and testing it now. Looks simple enough. I'll probably include it on my default setup for all modules.

Owner

melo commented Mar 14, 2012

I think fec78a4 will work the best. Waiting for the results of the build to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment