Sha256: 8d09e32d574da3459b7870f3e2bd17583ea7f97373dd5530a7ea7ba2b1daa354

Contents?: true

Size: 1.82 KB

Versions: 1

Compression:

Stored size: 1.82 KB

Contents

# Ruby CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
#
version: 2
jobs:
  build:
    docker:
      # specify the version you desire here
       - image: circleci/ruby:2.4.1-node-browsers
      
    working_directory: ~/repo

    steps:
      - checkout
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "Gemfile.lock" }}
          - v1-dependencies-

      - run:
          name: install dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle

      - save_cache:
          paths:
            - ./vendor/bundle
          key: v1-dependencies-{{ checksum "Gemfile.lock" }}
        
      - run: 
          name: install memcached
          command: |
            sudo apt-get update && sudo apt-get install -y memcached
            sudo service start memcached || true
            memcached -d || true
            echo "checking if memcached is running...."
            ps -ef | grep [m]emcached
            # echo 'stats' | nc localhost 11211
            # echo "if we see the stats, memcached is running!"

      - run:
          name: install sym bash helpers
          command: |
            bundle exec exe/sym -B ~/.bash_profile

      - run:
          name: run tests
          command: |
            [[ -z ${_bash} && -x /usr/local/bin/bash ]] && _bash=/usr/local/bin/bash
            [[ -z ${_bash} && -x /usr/bin/bash ]] && _bash=/usr/bin/bash
            [[ -z ${_bash} && -x /bin/bash ]] && _bash=/bin/bash
            ${_bash} -l -c "
              export USER=circleci 
              export HOME=/home/${USER}/repo
              ruby --version
              bundle exec rspec --version
              bundle exec exe/sym --version
              bundle exec rspec --backtrace --format documentation
            "
      

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sym-2.8.0 .circleci/config.yml