---
sudo: false
cache: bundler

language: ruby
rvm:
  - 2.1.5

services: mysql

before_script:
  - cp spec/ci/database.mysql.yml config/database.yml;
  - bundle exec rake app:db:create
  - bundle exec rake app:db:migrate


script:
  - bundle exec rake app:spec
  - bundle exec codeclimate-test-reporter

branches:
  only:
    - master

notifications:
  slack: trustarts:FrVc7H8dDadhctfZ7NvHTZES

addons:
    code_climate:
        repo_token: 10e89622ddc764206e253cd07c5784f83178fe45550920e0eac8ab2e020e3e93

---
sudo: false
cache: bundler

language: ruby
rvm:
  - 2.3.1

services: mysql

before_script:
  - cp spec/ci/database.mysql.yml config/database.yml;
  - bundle exec rake app:db:create
  - bundle exec rake app:db:migrate


script:
  - bundle exec rake app:spec
  - bundle exec codeclimate-test-reporter

branches:
  only:
    - master

notifications:
  slack: trustarts:FrVc7H8dDadhctfZ7NvHTZES

addons:
    code_climate:
        repo_token: 10e89622ddc764206e253cd07c5784f83178fe45550920e0eac8ab2e020e3e93

Upgrade TravisCI to use Ruby version 2.3.1
Upgrade TravisCI to use Ruby version 2.3.1
