2013-02-08 03:43:07 +08:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
|
|
|
- 1.9.3
|
2013-06-13 19:12:06 +08:00
|
|
|
- 2.0.0
|
2013-02-08 03:43:07 +08:00
|
|
|
before_script:
|
2013-05-25 11:25:03 +08:00
|
|
|
- cp config/database.yml.development-sample config/database.yml
|
2013-02-13 05:30:56 +08:00
|
|
|
- cp config/redis.yml.sample config/redis.yml
|
2013-02-08 03:43:07 +08:00
|
|
|
- psql -c 'create database discourse_test;' -U postgres
|
2013-02-08 04:03:44 +08:00
|
|
|
- rake db:migrate
|
2013-03-11 11:14:46 +08:00
|
|
|
- export RUBY_GC_MALLOC_LIMIT=50000000
|
2013-03-06 20:36:19 +08:00
|
|
|
bundler_args: --without development
|
2013-10-18 23:33:23 +08:00
|
|
|
script: 'bundle exec rspec && bundle exec rake qunit:test'
|
2013-02-08 03:43:07 +08:00
|
|
|
services:
|
2013-03-02 08:22:35 +08:00
|
|
|
- redis-server
|