language: ruby
bundler_args: --without development --jobs 4

env:
  - DB=postgresql
  - DB=mysql
  - DB=sqlite3

rvm:
  - 2.0.0
  - 2.1.6
  - 2.2.2

before_script:
  - sudo apt-get update -qq
  - sudo apt-get install -qq imagemagick ghostscript
  - psql -c 'CREATE DATABASE brimir_test;' -U postgres
  - mysql -e 'create database brimir_test;'
  - cp config/database.travis.yml config/database.yml
  - bundle exec rake db:migrate

language: ruby
cache: bundler
bundler_args: --without development --jobs 4
sudo: false

addons:
  apt:
    packages:
      - imagemagick
      - ghostscript

env:
  - DB=postgresql
  - DB=mysql
  - DB=sqlite3

rvm:
  - 2.0.0
  - 2.1.6
  - 2.2.2

before_script:
  - psql -c 'CREATE DATABASE brimir_test;' -U postgres
  - mysql -e 'create database brimir_test;'
  - cp config/database.travis.yml config/database.yml
  - bundle exec rake db:migrate

Use newer Travis container builds with caching
Use newer Travis container builds with caching
