Sha256: 2d649db0bdb9745362be4d5b7554adb9a98d1a14f405fb801f3ae89ae4bb6226

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

version: 2
jobs:
  build:
    working_directory: ~/twilio_base
    docker:
      - image: circleci/ruby:2.5.1-node-browsers
        environment:
          PGHOST: 127.0.0.1
          PGUSER: postgres
          RAILS_ENV: test
          RACK_ENV: test

      - image: circleci/postgres:9.6.2-alpine
        environment:
          POSTGRES_USER: postgres
          POSTGRES_DB: twilio_base_test

    steps:
      - checkout
      - run: bundle install
      - run: cp spec/twilio_base_dummy/config/database.example.yml spec/twilio_base_dummy/config/database.yml
      - run: bundle exec rake db:setup
      - run:
          name: Parallel RSpec
          command: bundle exec rspec spec/
      - run:
          name: Rubocop
          command: bundle exec rubocop
      - run:
          name: Publish gem to gemfury
          command: |
            if [ "${CIRCLE_BRANCH}" == "master" ]
            then
              gem install gemfury
              gem build twilio_base.gemspec
              fury push $(ls | grep twilio_base-) --as=dvelp --api-token=$BUNDLE_GEM__FURY__IO
            else
              echo "Publishing to gemfury allowed only for master branch"
            fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twilio_base-1.11.1101 circle.yml
twilio_base-1.11.11 circle.yml