language: ruby
rvm:
  - 2.1.2
  - ruby-head
matrix:
  allow_failures:
    - rvm: ruby-head
addons:
  postgresql: "9.3"
bundler_args: "--without development:production --deployment"
cache: bundler

before_install:
  - gem install scss-lint

before_script:
  - psql -c 'create database coursemology_test;' -U postgres
  - bundle exec rake db:setup

script:
  - scss-lint app/assets/stylesheets/
  - bundle exec consistency_fail
  - bundle exec rake spec

language: ruby
rvm:
  - 2.1.5
  - ruby-head
matrix:
  allow_failures:
    - rvm: ruby-head
addons:
  postgresql: "9.3"
bundler_args: "--without development:production --deployment"
cache: bundler

before_install:
  - gem install scss-lint

before_script:
  - psql -c 'create database coursemology_test;' -U postgres
  - bundle exec rake db:setup

script:
  - scss-lint app/assets/stylesheets/
  - bundle exec consistency_fail
  - bundle exec rake spec

Upgrade Ruby to use 2.1.5.
Upgrade Ruby to use 2.1.5.
