box: perl:5.18.2

build:
  steps:
    - script:
        name: install dependencies
        code: |
          carton install

  after-steps:
    - wantedly/pretty-slack-notify:
        webhook_url: $SLACK_WEBHOOK_URL

box: perl:5.18.2

build:
  steps:
    - script:
        name: install cpanm
        code: |
          curl -L https://cpanmin.us | perl - --sudo App::cpanminus

    - script:
        name: install dependencies
        code: |
          carton install

  after-steps:
    - install-packages:
        package: ruby2.1

    - wantedly/pretty-slack-notify:
        webhook_url: $SLACK_WEBHOOK_URL

Add ruby install to after build steps
Add ruby install to after build steps
