Sha256: 8e39b0917bbe846c565a73b67889fcba1649d49b4d15ef6476986fe2258ddff3

Contents?: true

Size: 986 Bytes

Versions: 1

Compression:

Stored size: 986 Bytes

Contents

image: ruby:2.4.0

pipelines:
  branches:
    master:
    - step:
        caches:
        - bundler
        script:
        - gem install bundle rubocop
        - bundle install
        - rubocop
        - rake
        services:
        - mysql
        - broker
  default:
    - step:
        caches:
          - bundler
        script:
          - gem install bundle rubocop
          - bundle install
          - rubocop
          - rake
        services:
          - mysql
          - broker
    - step:
        name: Deploy to test
        deployment: test
        script:
definitions:
  caches:
    bundler: vendor/bundle
  services:
    mysql:
      image: mysql:5.7
      environment:
        MYSQL_DATABASE: 'legion'
        MYSQL_ROOT_PASSWORD: 'legion'
        MYSQL_USER: 'legion'
        MYSQL_PASSWORD: 'legion'
    broker:
      image: rabbitmq:3
      environment:
        RABBITMQ_DEFAULT_USER: guest
        RABBITMQ_DEFAULT_PASS: guest
      ports:
        - 5672:5672

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legionio-0.1.1 bitbucket-pipelines.yml