---
git:
  submodules: false
bundler_args: --with travis --without development debug
services:
  - mysql2
before_install:
  - sudo apt-get update
  - sudo apt-get install mediainfo
  - sudo ln -s /usr/bin/lsof /usr/sbin/lsof
  - cp spec/config/*.yml config
  - bundle config without development:production
before_script:
  - rm config/database.yml
  - cp config/database.travis.yml config/database.yml
  - mysql -e 'create database avalon_test;'
  - bundle exec rake delayed_job:start
  - bundle exec rake db:migrate
language: ruby
jdk:
  - oraclejdk8
rvm:
  - 2.2.5
  - 2.3.1
addons:
  code_climate:
    repo_token: 1fb78f221b36e5615428f2ada12950b39a3b702b23fdd41e1b980dc4b47d0233

---
git:
  submodules: false
bundler_args: --with travis --without development debug
services:
  - mysql2
before_install:
  - sudo apt-get update
  - sudo apt-get install mediainfo
  - sudo ln -s /usr/bin/lsof /usr/sbin/lsof
  - cp spec/config/*.yml config
  - cp config/authentication.yml.example config/authentication.yml
  - cp config/avalon.yml.example config/avalon.yml
  - bundle config without development:production
before_script:
  - rm config/database.yml
  - cp config/database.travis.yml config/database.yml
  - mysql -e 'create database avalon_test;'
  - bundle exec rake delayed_job:start
  - bundle exec rake db:migrate
language: ruby
jdk:
  - oraclejdk8
rvm:
  - 2.2.5
  - 2.3.1
addons:
  code_climate:
    repo_token: 1fb78f221b36e5615428f2ada12950b39a3b702b23fdd41e1b980dc4b47d0233

Use example config files instead of looking for them in spec/config
Use example config files instead of looking for them in spec/config
