language: ruby
rvm:
 - 2.3.4
env:
- CI=true
services:
  - redis-server
  - postgresql
cache: bundler
before_script:
  - psql -c 'create database glowfic_test;' -U postgres
script:
  - RAILS_ENV=test bundle exec rake db:migrate --trace
  - bundle exec rspec spec
  - bundle exec cucumber
branches:
  only:
  - master
addons:
  code_climate:
    repo_token: 1e0c6dba9930e839038860b6d73301226c821937f57ed35d06fc0e4b7bddf5f6
after_success:
  - bundle exec codeclimate-test-reporter

language: ruby
rvm:
 - 2.3.4
env:
- CI=true
services:
  - redis-server
  - postgresql
cache: bundler
before_install:
  - gem install bundler
before_script:
  - psql -c 'create database glowfic_test;' -U postgres
script:
  - RAILS_ENV=test bundle exec rake db:migrate --trace
  - bundle exec rspec spec
  - bundle exec cucumber
branches:
  only:
  - master
addons:
  code_climate:
    repo_token: 1e0c6dba9930e839038860b6d73301226c821937f57ed35d06fc0e4b7bddf5f6
after_success:
  - bundle exec codeclimate-test-reporter

Update bundler in before_install for Travis per warning
Update bundler in before_install for Travis per warning
