I am doing my annual revision and upload of an income-tax-related CPAN module. For testing on Windows (to which I myself don't have access), this year I added an AppVeyor configuration file (.appveyor.yml) essentially cloned from one of existing AppVeyor config files.

$ cat .appveyor.yml version: 1.0.{build} branches: except: - /travis/ skip_tags: true cache: - C:\strawberry -> .appveyor.yml install: - if not exist "C:\strawberry" cinst strawberryperl - set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\str +awberry\c\bin;%PATH% - cd C:\projects\%APPVEYOR_PROJECT_NAME% - cpanm --installdeps . build_script: - perl Makefile.PL - gmake test_script: - gmake test TEST_VERBOSE=1 notifications: - provider: Email to: - jkeenan@cpan.org on_build_status_changed: true

However, the AppVeyor process repeatedly fails. Here's the relevant part of the output:

StrawberryPerl v5.40.0.1 [Approved] strawberryperl package files install completed. Performing other insta +llation steps. Downloading strawberryperl 64 bit from 'https://github.com/StrawberryPerl/Perl-Dist-Strawberry/release +s/download/SP_54001_64bit_UCRT/strawberry-perl-5.40.0.1-64bit.msi' Progress: 100% - Completed download of C:\Users\appveyor\AppData\Local +\Temp\1\chocolatey\StrawberryPerl\5.40.0.1\strawberry-perl-5.40.0.1-6 +4bit.msi (196.43 MB). Download of strawberry-perl-5.40.0.1-64bit.msi (196.43 MB) completed. Hashes match. Installing strawberryperl... strawberryperl has been installed. strawberryperl may be able to be automatically uninstalled. Environment Vars (like PATH) have changed. Close/reopen your shell to see the changes (or in powershell/cmd.exe just type `refreshenv`). The install of strawberryperl was successful. Software installed to 'C:\Strawberry\' Chocolatey installed 1/1 packages. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.lo +g). set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawbe +rry\c\bin;%PATH% cd C:\projects\%APPVEYOR_PROJECT_NAME% The system cannot find the path specified. Command exited with code 1

If I download the log.txt file from this run, the last 10 to 12 lines match the tail of the output above.

My other distros using .appveyor.yml configuration files build and test as expected, so I am at a lost as to explain why this one does not. Any suggestions?


In reply to AppVeyor failing to build/test CPAN distro by jkeenan1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.