rvm:
  - "1.9.3"

before_script:
  - cp config/sp-gestion.sample.yml config/sp-gestion.yml
  - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
  - bundle exec rake db:drop db:create db:migrate

bundler_args:
  --without development staging production

script:
  - bundle exec rake spec

notifications:
  on_success:
    - always
  on_failure:
    - always

env:
  global:
    - RAILS_ENV=test

rvm:
  - "1.9.3"

before_script:
  - cp config/sp-gestion.sample.yml config/sp-gestion.yml
  - mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
  - bundle exec rake db:drop db:create db:migrate

bundler_args:
  --without development staging production assets

script:
  - bundle exec rake spec

notifications:
  on_success:
    - always
  on_failure:
    - always

env:
  global:
    - RAILS_ENV=test

Remove assets gems group from bundler for tests.
Remove assets gems group from bundler for tests.
