Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: cpan smokers, PREREQ_PM, and PDL dependency

by Anonymous Monk
on Nov 19, 2015 at 16:14 UTC ( [id://1148122]=note: print w/replies, xml ) Need Help??


in reply to Re: cpan smokers, PREREQ_PM, and PDL dependency
in thread cpan smokers, PREREQ_PM, and PDL dependency

thanks, that's a good tip for consistent versioning which would at least allow PREREQ_PM to specify the "real" PDL-linked dependency, not sure it would help with the compilation/linking issue though, which is hard to test (indirectly via cpan smokers) without uploading a ton of miniscule changes to CPAN.
  • Comment on Re^2: cpan smokers, PREREQ_PM, and PDL dependency

Replies are listed 'Best First'.
Re^3: cpan smokers, PREREQ_PM, and PDL dependency
by stevieb (Canon) on Nov 19, 2015 at 16:58 UTC

    I don't know if this'll help at all with your wanting to do incremental testing, but I started using Travis CI for build tests prior to uploading to CPAN to let a wider range of test platforms have at it. In doing this, I minimize to the best of my ability not uploading something to the CPAN that will fail because of something stupid, making publicly available a broken module, and taxing the CPAN Testers for nothing.

    Just put your code on Github, sign up for Travis-CI, create a .travis.yml file in your distribution's root directory (example contents below), and then with every push, you get testing on a wide range of perl versions, across Mac and Linux (no Windows unfortunately... I have two Strawberry Perl VMs I test my modules on manually prior to upload to CPAN).

    This is an exact working copy/paste of a .travis.yml file from one of my modules.

    language: perl perl: - "blead" - "5.22" - "5.20" - "5.18" - "5.16" - "5.14" - "5.12" - "5.10" os: - linux before_install: - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpe +rs - source ~/travis-perl-helpers/init - build-perl - perl -V - build-dist - cd $BUILD_DIR # $BUILD_DIR is set by the build-dist co +mmand install: - cpan-install --deps # installs prereqs, including recommends - cpan-install --coverage # installs coverage prereqs, if enabled before_script: - coverage-setup script: - perl Makefile.PL # or Build.PL if it exists - make # or ./Build - make test after_success: - coverage-report

    Here's an example Travis report on one of my modules. You can then drill down to each version of perl to see the test results themselves.

Re^3: cpan smokers, PREREQ_PM, and PDL dependency
by moocow (Acolyte) on Nov 19, 2015 at 16:15 UTC
    oops; apologies - the anon post was me --moocow

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148122]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2024-04-19 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found