#
# Configuration for http://travis-ci.org/#!/ari/jobsworth
#
rvm:
  - 1.9.2
  - 1.9.3
branches:
  only:
    - master
    - dev
script: "bundle exec rake spec test"
before_script:
  - "cp .travis/database.yml config/database.yml"
  - "cp config/environment.local.example config/environment.local.rb"
  - "cp .travis/.rspec .rspec"
  - "RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load --trace"
  - "RAILS_ENV=test bundle exec rake assets:precompile --trace"
bundler_args: "--without development"

#
# Configuration for http://travis-ci.org/#!/ari/jobsworth
#
rvm:
  - 1.9.2
  - 1.9.3
  - jruby
branches:
  only:
    - master
    - dev
script: "bundle exec rake spec test"
before_script:
  - "cp .travis/database.yml config/database.yml"
  - "cp config/environment.local.example config/environment.local.rb"
  - "cp .travis/.rspec .rspec"
  - "RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load --trace"
  - "RAILS_ENV=test bundle exec rake assets:precompile --trace"
bundler_args: "--without development"

Test against jruby as well
Test against jruby as well
