tokuhirom/Minilla — pull request #106 by syohex (2013-11-19 09:44:06+00:00)
Title: Skip tests if 'CPAN::Uploader' is not installed

I failed some tests and got following error message.
Please see this patch.

```
% prove -bv t/cli/release.t
t/cli/release.t ..
[VlEAILxu3F] $ git init --bare
Initialized empty Git repository in /tmp/VlEAILxu3F/
Writing lib/Acme/Foo.pm
Writing Changes
Writing t/00_compile.t
Writing .travis.yml
Writing .gitignore
Writing LICENSE
Writing cpanfile
[XTAfNLcAAk] $ git init
Initialized empty Git repository in /tmp/XTAfNLcAAk/.git/
[XTAfNLcAAk] $ git add .
[XTAfNLcAAk] $ git commit -m initial import
[master (root-commit) 7c4046e] initial import
8 files changed, 473 insertions(+)
create mode 100644 .gitignore
create mode 100644 .travis.yml
create mode 100644 Changes
create mode 100644 LICENSE
create mode 100644 cpanfile
create mode 100644 lib/Acme/Foo.pm
create mode 100644 minil.toml
create mode 100644 t/00_compile.t
[XTAfNLcAAk] $ git remote add origin file:///tmp/VlEAILxu3F
Release engineering requires CPAN::Uploader, but it is not available. Please install CPAN::Uploader using your preferred CPAN client at /home/syohei/.cpanm/work/1384853680.13007/Minilla-v0.9.0/blib/lib/Minilla/Release/UploadToCPAN.pm line 11.
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/cli/release.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=1, Tests=0, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.54 cusr 0.11 csys = 0.71 CPU)
Result: FAIL
```