Ukigumo-Client [support_branches_only_option](d6e6e64fc3) SUCCESS

Compare: https://github.com/ukigumo/Ukigumo-Client/commit/d6e6e64fc3ec

Elapsed Time: 12 sec

_ 2014-06-20T09:44:19 [INFO] [support_branches_only_option] ukigumo-client 0.34
_ 2014-06-20T09:44:19 [INFO] [support_branches_only_option] start testing : https://github.com/ukigumo/Ukigumo-Client support_branches_only_option
_ 2014-06-20T09:44:19 [INFO] [support_branches_only_option] working directory : /tmp/Ukigumo-Client/support_branches_only_option
_ 2014-06-20T09:44:19 [INFO] [support_branches_only_option] run vc : Ukigumo::Client::VC::Git
_ 2014-06-20T09:44:19 [INFO] [support_branches_only_option] workdir is /tmp/Ukigumo-Client/support_branches_only_option
_ 2014-06-20T09:44:19 [INFO] [support_branches_only_option] command: git clone --branch support_branches_only_option https://github.com/ukigumo/Ukigumo-Client ./
_ Cloning into '.'...
_ 2014-06-20T09:44:23 [INFO] [support_branches_only_option] command: git pull -f origin support_branches_only_option
_ From https://github.com/ukigumo/Ukigumo-Client
_  * branch            support_branches_only_option -> FETCH_HEAD
_ Already up-to-date.
_ 2014-06-20T09:44:25 [INFO] [support_branches_only_option] command: git submodule init
_ 2014-06-20T09:44:25 [INFO] [support_branches_only_option] command: git submodule update
_ 2014-06-20T09:44:25 [INFO] [support_branches_only_option] command: git clean -dxf
_ 2014-06-20T09:44:25 [INFO] [support_branches_only_option] command: git status
_ # On branch support_branches_only_option
_ nothing to commit, working directory clean
_ 2014-06-20T09:44:25 [INFO] [support_branches_only_option] [before_install] cpanm -L $HOME/.ukigumo/ukigumo-client/extlib --installdeps -n .
_ 2014-06-20T09:44:27 [INFO] [support_branches_only_option] [install] ln -s $HOME/.ukigumo/ukigumo-client/extlib ./extlib
_ 2014-06-20T09:44:27 [INFO] [support_branches_only_option] run executor : Ukigumo::Client::Executor::Command
_ 2014-06-20T09:44:27 [INFO] [support_branches_only_option] command: prove -lrv -Iextlib/lib/perl5 t
_ 
_ [09:44:28] ==> t/00_compile.t <=============
_ 
_   use Ukigumo::Client;
_   use Ukigumo::Client::Executor::Auto;
_   use Ukigumo::Client::Executor::Callback;
_   use Ukigumo::Client::Executor::Perl;
_   use Ukigumo::Client::Executor::Prove;
_   use Ukigumo::Client::Notify::Debug;
_   use Ukigumo::Client::Notify::Ikachan;
_   use Ukigumo::Client::Notify::GitHubStatuses;
_   use Ukigumo::Client::Role::VC;
_   use Ukigumo::Client::VC::Callback;
_   use Ukigumo::Client::VC::Git;
_ 
_ ok
_ ok      897 ms
_ 
_ [09:44:29] ==> t/09_skip_if_unmodified.t <==
_ 
_     L18: ok 1;
_     L34: is $test_count, 1;
_     L37: is $test_count, 1;
_ 
_ ok
_ ok      797 ms
_ 
_ [09:44:30] ==> t/10_die_if_broken_yml.t <===
_ 
_     L18: ok 1;
_     L51: like $@, qr/.ukigumo.yml/;
_ # .ukigumo.yml: YAML::Tiny found illegal characters in plain scalar: '-' at /tmp/Ukigumo-Client/support_branches_only_option/lib/Ukigumo/Client/YamlConfig.pm line 148.
_ # 
_ 
_ ok
_ ok      269 ms
_ 
_ [09:44:30] ==> t/20_config.t <==============
_ 
_   load `.ukigumo.yml` on project root ok
_         L34: is $config->ukigumo_yml_file, 'eg/_ukigumo.yml';
_         L36: is scalar @{$config->before_install}, 1;
_         L37: is $config->before_install->[0], 'cpanm -L $HOME/.ukigumo/ukigumo-client/extlib --installdeps -n .';
_         L39: is_deeply $config->install, ['ln -s $HOME/.ukigumo/ukigumo-client/extlib ./extlib'];
_         L40: is_deeply $config->script, ['prove -lrv -Iextlib/lib/perl5 t'];
_   load basic yml
_         L47: is scalar @{$config->notifiers}, 2;
_         L48: is ref $sorted_notifiers[0], 'Ukigumo::Client::Notify::GitHubStatuses';
_         L49: is ref $sorted_notifiers[1], 'Ukigumo::Client::Notify::Ikachan';
_         L51: is $config->project_name, 'MyProj';
_         L52: is_deeply $config->before_install, ['foo'];
_         L53: is_deeply $config->install, ['bar'];
_         L54: is_deeply $config->before_script, ['buz'];
_         L55: is_deeply $config->script, ['hoge'];
_         L56: is_deeply $config->after_script, ['fuga'];
_         L57: is_deeply $config->branches_only, ['master', 'release'];
_   load nil yml
_         L71: like $@, qr/$tmpfile: does not contain anything/;
_   load nil yml
_         L80: is_deeply $config->config, {}
_   should get undef when `branches` or `only` is nil
_       empty branches_only
_             L86: is $config->branches_only, undef;
_       not exists only
_             L91: is $config->branches_only, undef;
_       not exists branches
_             L96: is $config->branches_only, undef;
_ 
_ ok
_ ok      235 ms
_ 
_ [09:44:30] ==> t/21_config_env.t <==========
_ 
_   Set environment variable ok
_         L35: is $ENV{foo}, 'hoge';
_         L36: is $ENV{buz}, 'qux';
_         L39: is $ENV{foo}, $orig_env_foo;
_         L40: is $ENV{buz}, $orig_env_bar;
_   Invalid env
_       give scalar and dies ok
_             L56: like $@, qr/`env` must be array reference: in spite of it was given `SCALAR`/;
_       give hashref and dies ok
_             L65: like $@, qr/`env` must be array reference: in spite of it was given `HASH`/;
_ 
_ ok
_ ok      178 ms
_ 
_ [09:44:30] ==> t/30_command_runner.t <======
_ 
_   running commands is successful
_ 
_ This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
_ 
_ Copyright 1987-2012, Larry Wall
_ 
_ Perl may be copied only under the terms of either the Artistic License or the
_ GNU General Public License, which may be found in the Perl 5 source kit.
_ 
_ Complete documentation for Perl, including FAQ lists, should be found on
_ this system using "man perl" or "perldoc perl".  If you have access to the
_ Internet, point your browser at http://www.perl.org/, the Perl Home Page.
_ 
_         L34: ok $command_runner->run('before_install');
_ 
_ This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
_ 
_ Copyright 1987-2012, Larry Wall
_ 
_ Perl may be copied only under the terms of either the Artistic License or the
_ GNU General Public License, which may be found in the Perl 5 source kit.
_ 
_ Complete documentation for Perl, including FAQ lists, should be found on
_ this system using "man perl" or "perldoc perl".  If you have access to the
_ Internet, point your browser at http://www.perl.org/, the Perl Home Page.
_ 
_         L35: ok $command_runner->run('install');
_ 
_ This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
_ 
_ Copyright 1987-2012, Larry Wall
_ 
_ Perl may be copied only under the terms of either the Artistic License or the
_ GNU General Public License, which may be found in the Perl 5 source kit.
_ 
_ Complete documentation for Perl, including FAQ lists, should be found on
_ this system using "man perl" or "perldoc perl".  If you have access to the
_ Internet, point your browser at http://www.perl.org/, the Perl Home Page.
_ 
_         L36: ok $command_runner->run('before_script');
_ 
_ This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
_ 
_ Copyright 1987-2012, Larry Wall
_ 
_ Perl may be copied only under the terms of either the Artistic License or the
_ GNU General Public License, which may be found in the Perl 5 source kit.
_ 
_ Complete documentation for Perl, including FAQ lists, should be found on
_ this system using "man perl" or "perldoc perl".  If you have access to the
_ Internet, point your browser at http://www.perl.org/, the Perl Home Page.
_ 
_         L37: ok $command_runner->run('after_script');
_   running commands fail
_ Unrecognized switch: --invalid-option  (-h will show valid options).
_         L48: like $@, qr/Failure in before_install: perl --invalid-option/;
_ Unrecognized switch: --invalid-option  (-h will show valid options).
_         L50: like $@, qr/Failure in install: perl --invalid-option/;
_ Unrecognized switch: --invalid-option  (-h will show valid options).
_         L52: like $@, qr/Failure in before_script: perl --invalid-option/;
_ Unrecognized switch: --invalid-option  (-h will show valid options).
_         L54: like $@, qr/Failure in after_script: perl --invalid-option/;
_ 
_ ok
_ ok      201 ms
_ 
_ [09:44:31] ==> t/basic.t <==================
_ 
_     L17: ok 1;
_     L49: is $status,     STATUS_NA;
_     L50: ok !$last_status;
_     L51: is $report_url, $REPORT_URL;
_ 
_ ok
_ ok      210 ms
_ 
_ [09:44:31] ==> t/command.t <================
_ 
_ hello
_     L15: ok 1;
_ 
_ ok
_ ok      227 ms
_ [09:44:31]
_ All tests successful.
_ Files=8, Tests=8,  3 wallclock secs ( 0.06 usr  0.03 sys +  1.43 cusr  0.24 csys =  1.76 CPU)
_ Result: PASS
_ 2014-06-20T09:44:31 [INFO] [support_branches_only_option] finished testing : 1