Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 643 Bytes
language: ruby
bundler_args: --without development
services:
- mongodb
- redis-server
matrix:
allow_failures:
- rvm: ruby-head
rvm:
- 2.0.0
before_script:
- mongo ruby_china_test --eval 'db.addUser("travis", "test");'
- cp config/config.yml.default config/config.yml
- cp config/mongoid.yml.default config/mongoid.yml
- cp config/redis.yml.default config/redis.yml
- sed -i "s/SETUP_DEVELOPMENT_HOST/127.0.0.1:27017/g" config/mongoid.yml
- sed -i "s/SETUP_REDIS_HOST/127.0.0.1/g" config/redis.yml
- sed -i "s/SETUP_REDIS_PORT/6379/g" config/redis.yml
script: RAILS_ENV=test bundle exec rake spec spec:javascript
Something went wrong with that request. Please try again.