Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
.travis.yml has commented out lines for macOS testing. I was unable to get it to work and don't have a local macOS environment to play with.
MacOS will be in the cron job once uncommented. For testing purposes, I would modify the YAML so that macOS builds on pushes instead. Example:
There is a Travis YAML linter which is marginally useful:
I ran into two problems with the build before I gave up. First cpan does not work under sudo as it does in Travis Ubuntu:
Travis's macOS environment is supposed to have passwordless sudo access just like its Ubuntu environment:
And this seems to be the case because I can run "sudo cpan" without getting a password prompt. However, cpan complains about not having write permissions:
and then gives me a prompt where the answer is not "yes".
Secondly, the build fails if I skip the cpan step. I'm honestly not sure what is wrong here. config_rev.pl complains and ccache says it can't find a file but I don't know what file. That's as far as I got.