language: ruby rvm: - 1.9.2 - 1.9.3 - 2.0.0 - jruby-19mode # JRuby in 1.9 mode before_script: # Before, Travis does a bundle install (cant_wait's Gemfile), which installs the last version of Rails - psql -c "CREATE ROLE tester WITH LOGIN PASSWORD 'secret';" -U postgres - psql -c 'CREATE DATABASE test WITH OWNER=tester;' -U postgres # We remove Rails to allow the installation of previous versions: - gem uninstall rails - rake test:bundle REBUILD=yes script: rake