2012-05-25 13:38:23 +00:00
|
|
|
env:
|
2012-12-18 16:39:35 +00:00
|
|
|
- DB=postgresql
|
2012-05-25 13:38:23 +00:00
|
|
|
- DB=mysql
|
2012-05-28 21:38:15 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install libicu-dev -y
|
2012-11-09 13:24:28 +00:00
|
|
|
- gem install charlock_holmes -v="0.6.9"
|
2011-11-15 13:42:01 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- 'master'
|
2012-03-12 10:57:22 +00:00
|
|
|
rvm:
|
2013-01-04 22:43:32 +00:00
|
|
|
- 1.9.2
|
2012-09-07 01:01:04 +00:00
|
|
|
services:
|
|
|
|
- mysql
|
2012-10-09 23:41:44 +00:00
|
|
|
- postgresql
|
2011-11-15 13:42:01 +00:00
|
|
|
before_script:
|
2012-05-25 13:38:23 +00:00
|
|
|
- "cp config/database.yml.$DB config/database.yml"
|
2012-02-19 09:49:48 +00:00
|
|
|
- "cp config/gitlab.yml.example config/gitlab.yml"
|
2012-12-18 18:43:44 +00:00
|
|
|
- "bundle exec rake db:setup RAILS_ENV=test"
|
2011-11-15 13:42:01 +00:00
|
|
|
- "bundle exec rake db:seed_fu RAILS_ENV=test"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2012-10-04 10:55:29 +00:00
|
|
|
script: "bundle exec rake travis --trace"
|