Sha256: 91e1cb8ac453a626c9c9c1daff2da252d1d79774eac8b00dc9403e5e85fe5ac5
Contents?: true
Size: 1.89 KB
Versions: 1
Compression:
Stored size: 1.89 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 environment: CC_TEST_REPORTER_ID: 94ada9b95ee3f232a6e984809d37917cfee90ac47805429e8c49742b2e8d2276 RAILS_ENV: test - image: circleci/postgres:9.6.6-alpine environment: POSTGRES_USER: postgres working_directory: ~/repo steps: - run: name: Install aptitude because it has much more helpful error messages when ending up in dependency hell command: sudo apt-get install --assume-yes aptitude - run: name: Install Postgres Client command: sudo aptitude -y install postgresql-client - checkout - run: name: Setup Code Climate test-reporter command: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter - restore_cache: name: Restore Bundler Cache key: messaging-bundle-{{ checksum "Gemfile.lock" }} - run: name: install dependencies command: bundle install --jobs=4 --retry=3 --path vendor/bundle - save_cache: key: messagin-bundle-{{ checksum "Gemfile.lock" }} paths: - vendor/bundle - run: name: Database Setup command: | cd spec/example_app bin/rails db:create bin/rails db:migrate - run: name: run tests command: | ./cc-test-reporter before-build bundle exec rspec --format RspecJunitFormatter ./cc-test-reporter after-build --exit-code $? workflows: version: 2 messaging_specs: jobs: - build
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
messaging-3.4.1 | .circleci/config.yml |