language: ruby

rvm:
  - 2.0
  - 2.1
  - 2.2

gemfile:
  - gemfiles/Gemfile.activerecord-4.1

env:
  - DB_ADAPTER=sqlite3
  - DB_ADAPTER=mysql2
  - DB_ADAPTER=postgresql

before_script:
  - mysql -e 'create database microscope_test;'
  - psql -c 'create database microscope_test;' -U postgres

script: "echo 'DO IT' && bundle exec rake spec"

notifications:
  hipchat:
    rooms:
      secure: cJWiEh3XNWrEkoeaZd5Kyx3igwOJto+B8jPiyr38Kfv8Z2WLINkHbMQXcd37/tIubX6w9VWjWJ2TuX5cK2H07EraPDDYAHJlnoR/WIPoYwQoXGUWqGH26O2LdBiLs9JcBQ9rKT8K8wmQuxf2rTpY7lN2RoKMjjEjcleWJwQG/3w=
    template:
      - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Build</a>/<a href="%{compare_url}">Changes</a>)'
    format: 'html'

language: ruby
sudo: false

rvm:
  - 2.0
  - 2.1
  - 2.2

gemfile:
  - gemfiles/Gemfile.activerecord-4.1

env:
  - DB_ADAPTER=sqlite3
  - DB_ADAPTER=mysql2
  - DB_ADAPTER=postgresql

before_script:
  - mysql -e 'create database microscope_test;'
  - psql -c 'create database microscope_test;' -U postgres

script: "echo 'DO IT' && bundle exec rake spec"

notifications:
  hipchat:
    rooms:
      secure: cJWiEh3XNWrEkoeaZd5Kyx3igwOJto+B8jPiyr38Kfv8Z2WLINkHbMQXcd37/tIubX6w9VWjWJ2TuX5cK2H07EraPDDYAHJlnoR/WIPoYwQoXGUWqGH26O2LdBiLs9JcBQ9rKT8K8wmQuxf2rTpY7lN2RoKMjjEjcleWJwQG/3w=
    template:
      - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (<a href="%{build_url}">Build</a>/<a href="%{compare_url}">Changes</a>)'
    format: 'html'

Use new Travis container-based infrastructure
Use new Travis container-based infrastructure
