Sha256: b31a881ce86a00e77674212d5c47621d6898216f9ae1b08ae12b3cef94949245

Contents?: true

Size: 1.39 KB

Versions: 3

Compression:

Stored size: 1.39 KB

Contents

version: 2
jobs:
  build:
    working_directory: ~/mcrain

    ## see https://circleci.com/docs/2.0/executor-types/#machine-executor-overview
    machine:
      image: circleci/classic:201711-01

    steps:
      - checkout

      - run:
          name: Check docker version
          command: |
            set -x
            docker version
            docker info

      - run:
          name: Check ruby version
          command: |
            set -x
            rvm version
            rvm list
            ruby -v
            gem --version
            gem env
            bundle --version

      - run:
          name: Install dependencies
          command: |
            sudo apt-get update
            sudo apt-get install -y --no-install-recommends libmysqlclient-dev

      - run:
          name: Open docker TCP port
          command: |
            set -x
            echo 'DOCKER_OPTS="$DOCKER_OPTS -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"' | sudo tee -a /etc/default/docker
            sudo service docker restart

      - run: docker pull mysql:5.5
      - run: docker pull redis:2.8.19
      - run: docker pull rabbitmq:3.4.4-management
      - run: docker pull hectcastro/riak:latest

      - run: bundle install --jobs=4 --path=vendor/bundle

      - run:
          name: test
          command: bundle exec rake spec
          environment:
            DOCKER_HOST: tcp://127.0.0.1:2375


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mcrain-0.8.3 .circleci/config.yml
mcrain-0.8.2 .circleci/config.yml
mcrain-0.8.1 .circleci/config.yml