• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kentnl / Dist-Zilla-App-Command-dumpphases / 54
98%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2016 04:41AM UTC
Jobs 1
Files 7
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
54

Pull #5

travis-ci

web-flow
add color for the MSWin32 platform

.# Discussion

Term::ANSIColor doesn't include MSWin32 support by default. And, unfortunately, it seems
that perl-porters don't want to include it (see https://rt.cpan.org/Ticket/Display.html?id=44807
@@ http://archive.is/gqB1N). So, to support the platform, Win32::Console::ANSI must be
used whenever Term::ANSIColor is loaded. It's tiresome but has a simple fix.

Adding `eval { require Win32::Console::ANSI }` after any require/use of Term::ANSIColor is
all that is needed for MSWin32 support. Since Win32::Console::ANSI can only be installed
on MSWin32 platforms, no `$^O eq 'MSWin32'` test is needed. But, since Win32::Console::ANSI
is an optional dependency, keeping the platform test avoids exposing non-'MSWin32' platforms
to the ". in @INC" threat vector.
Pull Request #5: add color for the MSWin32 platform

1 of 1 new or added line in 1 file covered. (100.0%)

125 of 128 relevant lines covered (97.66%)

15.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 54.1 (STERILIZE_ENV=0 COVERAGE_TESTING=1) 10 Sep 2016 04:42AM UTC 0
97.66
Travis Job 54.1
Source Files on build 54
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #54
  • Pull Request #5
  • PR Base - master (#49)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc