The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ukigumo.yml - Configuration file by YAML

SYNOPSIS

    before_install:
      - "cpanm -L $HOME/.ukigumo/ukigumo-client/extlib --installdeps -n ."
    install: "ln -s $HOME/.ukigumo/ukigumo-client/extlib ./extlib"
    script: prove -lrv -Iextlib/lib/perl5 t

DESCRIPTION

Configuration file by YAML.

CONFIGURABLE ITEMS

  • env

    One time environment variables that are enabled on running tasks.

        env:
          - foo: bar
          - buz: qux
          - foo: hoge
  • project_name

    Voluntary project name. If you don't want to use repository name as the project name, please configure this.

        project_name: MyProj
  • notifications

    Notifiers. Registered notifiers module are looked up in Ukigumo::Client::Notify::* (module name will be converted to CamelCase automatically).

        notifications:
          ikachan:
            - url: localhost
              channel: "#ukigumo"
          github_statuses:
            - api_endpoint: localhost
              access_token: __ACCESS_TOKEN__

    Now available notifiers names are followings;

  • before_install

    Commands that runs on before install phase (default: do nothing).

        before_install:
          - echo "before install!"
  • install

    Commands that runs on install phase (default: cpanm --notest --installdeps .).

        install:
          - bundle install --path=./bundle/gems
  • before_script

    Commands that runs on before main script phase , and after install phase (default: do nothing).

        before_script
          - echo "before script!"
  • script

    Main command (default: command that is passed by ukigumo-client.pl or Ukigumo::Client::Executor::Perl).

        script
          - rake spec
  • after_script

    Commands that runs on after main script phase (default: do nothing).

        after_script
          - echo "this is the end"

NOTES

Execution sequence of commands

before_install -> install -> before_script -> script -> after_script