Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (26 sloc) 672 Bytes
language: ruby
bundler_args: --without development
script: bundle exec rspec spec
before_script:
- sudo /etc/init.d/postgresql stop
- sudo sed -i "s/#max_prepared_transactions = 5/max_prepared_transactions = 10/g" /etc/postgresql/9.1/main/postgresql.conf
- sudo /etc/init.d/postgresql start
env: JRUBY_OPTS="--server --debug -J-Xms512m -J-Xmx1024m" TIMEOUT=10
rvm:
- ruby-1.9.3
- ruby-2.0.0
# - jruby
# - jruby-head
- ruby-head
gemfile:
- gemfiles/mongoid3.gemfile
- gemfiles/mongoid31.gemfile
- gemfiles/active_record32.gemfile
services:
- mongodb
- rabbitmq
- redis-server
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head