language: ruby
notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/c2044eca72685a9b2ef7
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false
rvm:
  - 2.0.0
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libarchive-dev libxslt-dev libxml2-dev
  - bundle config build.nokogiri --use-system-libraries
before_script:
  - psql -c 'create database supermarket_test;' -U postgres
  - psql supermarket_test -c 'create extension pg_trgm' -U postgres
  - bundle exec rake db:migrate
bundler_args: --without development
script:
  - bundle exec rake spec
  - bundle exec rake spec:rubocop
services:
  - redis-server
env:
  global:
    secure: "rzoy57s+oxvw27HStU1VNHN7fS525ocQo11bmASbwG5Ax6I4X/dwWofQCoZPoGrXisMw5RQaa7e3bHJpATZsMJC67Sf6gbfSOIYY7tISXuCFh9q/19YPGltdwZkP3OgawEpufA8zcMHzD5nvWNXq4c4TKRdtX6mHQVIAOJ9u6qY="

language: ruby
notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/c2044eca72685a9b2ef7
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false
rvm:
  - 2.0.0
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libarchive-dev libxslt-dev libxml2-dev
  - bundle config build.nokogiri --use-system-libraries
before_script:
  - psql -c 'create database supermarket_test;' -U postgres
  - psql supermarket_test -c 'create extension pg_trgm' -U postgres
  - bundle exec rake db:migrate
bundler_args: --without development --jobs 7
script:
  - bundle exec rake spec
  - bundle exec rake spec:rubocop
services:
  - redis-server
env:
  global:
    secure: "rzoy57s+oxvw27HStU1VNHN7fS525ocQo11bmASbwG5Ax6I4X/dwWofQCoZPoGrXisMw5RQaa7e3bHJpATZsMJC67Sf6gbfSOIYY7tISXuCFh9q/19YPGltdwZkP3OgawEpufA8zcMHzD5nvWNXq4c4TKRdtX6mHQVIAOJ9u6qY="

Use 7 installers for gems
Use 7 installers for gems