Ukigumo-Client [extract_to_config_class](28023ca429) SUCCESS
Compare: https://github.com/ukigumo/Ukigumo-Client/compare/7d1b2ac2e7ee...28023ca42946
Elapsed Time: 6 sec
- 28023ca moznion: Fix deps
_ 111111From https://github.com/ukigumo/Ukigumo-Client _ * branch extract_to_config_class -> FETCH_HEAD _ 7d1b2ac..28023ca extract_to_config_class -> origin/extract_to_config_class _ Updating 7d1b2ac..28023ca _ Fast-forward _ cpanfile | 2 ++ _ 1 file changed, 2 insertions(+) _ 111Removing extlib _ 1# On branch extract_to_config_class _ nothing to commit, working directory clean _ 1111 _ [21:52:50] ==> 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 179 ms _ _ [21:52:50] ==> t/09_skip_if_unmodified.t <== _ _ 2014-05-10T21:52:50 [INFO] [master] ukigumo-client 0.31 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] start testing : git:... master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] working directory : /tmp/aVZIg48YX_/git____/master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] run vc : Ukigumo::Client::VC::Callback at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] There is no .ukigumo.yml at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 133 _ 2014-05-10T21:52:50 [INFO] [master] run executor : Ukigumo::Client::Executor::Callback at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] finished testing : 3 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ ✓ L18: ok 1; _ 2014-05-10T21:52:50 [INFO] [master] report url: http://... at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] sending notification: master, 3 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] end testing at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ ✓ L52: is $test_count, 1; _ 2014-05-10T21:52:50 [INFO] [master] ukigumo-client 0.31 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] start testing : git:... master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] working directory : /tmp/aVZIg48YX_/git____/master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] run vc : Ukigumo::Client::VC::Callback at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] skip testing at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ ✓ L55: is $test_count, 1; _ _ ok _ ok 224 ms _ _ [21:52:50] ==> t/10_die_if_broken_yml.t <=== _ _ 2014-05-10T21:52:50 [INFO] [master] ukigumo-client 0.31 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] start testing : git:... master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] working directory : /home/moznion/.ukigumo/work/git____/master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] run vc : Ukigumo::Client::VC::Callback at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [WARN] [master] YAML syntax error in .ukigumo.yml: YAML::Tiny found illegal characters in plain scalar: '-' at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 119.\n at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 121 _ ✓ L18: ok 1; _ 2014-05-10T21:52:50 [INFO] [master] report url: http://... at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:50 [INFO] [master] sending notification: master, 2 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ ✓ L51: like $@, qr/.ukigumo.yml/; _ # .ukigumo.yml: YAML::Tiny found illegal characters in plain scalar: '-' at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 119. _ # _ _ ok _ ok 217 ms _ _ [21:52:50] ==> t/20_config.t <============== _ _ load `.ukigumo.yml` on project root ok _ ✓ L30: is $config->ukigumo_yml_file, '.ukigumo.yml'; _ ✓ L32: is scalar @{$config->before_install}, 1; _ ✓ L33: is $config->before_install->[0], 'cpanm -L $HOME/.ukigumo/ukigumo-client/extlib --installdeps -n .'; _ ✓ L35: is $config->install, 'ln -s $HOME/.ukigumo/ukigumo-client/extlib ./extlib'; _ ✓ L36: is $config->script, 'prove -lrv -Iextlib/lib/perl5 t'; _ load basic yml _ ✓ L43: is scalar @{$config->notifiers}, 2; _ ✓ L44: is ref $sorted_notifiers[0], 'Ukigumo::Client::Notify::GitHubStatuses'; _ ✓ L45: is ref $sorted_notifiers[1], 'Ukigumo::Client::Notify::Ikachan'; _ ✓ L47: is $config->project_name, 'MyProj'; _ ✓ L48: is_deeply $config->before_install, ['foo']; _ ✓ L49: is $config->install, 'bar'; _ ✓ L50: is_deeply $config->before_script, ['buz']; _ ✓ L51: is $config->script, 'hoge'; _ ✓ L52: is_deeply $config->after_script, ['fuga']; _ load nil yml _ 2014-05-10T21:52:51 [WARN] [master] /tmp/id0cEnewNQ: does not contain anything at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 126 _ ✓ L65: like $@, qr/$tmpfile: does not contain anything/; _ die because given unknown notification type _ 2014-05-10T21:52:51 [WARN] [master] Unknown notification type: unknown at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 149 _ ✓ L72: like $@, qr/Unknown notification type: unknown/; _ load nil yml _ 2014-05-10T21:52:51 [INFO] [master] There is no NOT_EXISTS at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 133 _ ✓ L80: is_deeply $config->config, {} _ _ ok _ ok 187 ms _ _ [21:52:51] ==> 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 _ 2014-05-10T21:52:51 [WARN] [master] `env` must be array reference: in spite of it was given `SCALAR` at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 103 _ ✓ L56: like $@, qr/`env` must be array reference: in spite of it was given `SCALAR`/; _ give hashref and dies ok _ 2014-05-10T21:52:51 [WARN] [master] `env` must be array reference: in spite of it was given `HASH` at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 103 _ ✓ L65: like $@, qr/`env` must be array reference: in spite of it was given `HASH`/; _ _ ok _ ok 174 ms _ _ [21:52:51] ==> t/basic.t <================== _ _ 2014-05-10T21:52:51 [INFO] [master] ukigumo-client 0.31 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] start testing : git:... master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] working directory : /tmp/Kqyko9eHeM/git____/master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] run vc : Ukigumo::Client::VC::Callback at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] There is no .ukigumo.yml at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 133 _ 2014-05-10T21:52:51 [INFO] [master] run executor : Ukigumo::Client::Executor::Callback at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] finished testing : 3 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ ✓ L17: ok 1; _ 2014-05-10T21:52:51 [INFO] [master] report url: http://... at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] sending notification: master, 3 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ ✓ L49: is $status, STATUS_NA; _ ✓ L50: ok !$last_status; _ ✓ L51: is $report_url, $REPORT_URL; _ 2014-05-10T21:52:51 [INFO] [master] end testing at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ _ ok _ ok 216 ms _ _ [21:52:51] ==> t/command.t <================ _ _ 2014-05-10T21:52:51 [INFO] [master] ukigumo-client 0.31 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] start testing : git:... master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] working directory : /tmp/PstUWqN055/git____/master at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] run vc : Ukigumo::Client::VC::Callback at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] There is no .ukigumo.yml at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client/YamlConfig.pm line 133 _ 2014-05-10T21:52:51 [INFO] [master] run executor : Ukigumo::Client::Executor::Command at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] command: /home/moznion/.plenv/versions/5.16.3/bin/perl5.16.3 -e "print qq{hello\n}" at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ hello _ 2014-05-10T21:52:51 [INFO] [master] finished testing : 1 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ ✓ L15: ok 1; _ 2014-05-10T21:52:51 [INFO] [master] report url: http://... at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] sending notification: master, 1 at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ 2014-05-10T21:52:51 [INFO] [master] end testing at /tmp/Ukigumo-Client/extract_to_config_class/lib/Ukigumo/Client.pm line 345 _ _ ok _ ok 239 ms _ [21:52:51] _ All tests successful. _ Files=7, Tests=7, 1 wallclock secs ( 0.05 usr 0.02 sys + 1.20 cusr 0.17 csys = 1.44 CPU) _ Result: PASS _ 1