2012-05-25 16:38:23 +03:00
|
|
|
env:
|
|
|
|
- DB=mysql
|
|
|
|
- DB=sqlite
|
2012-05-29 02:38:15 +05:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install libicu-dev -y
|
|
|
|
- echo "yes" | gem uninstall json ffi
|
2011-11-15 08:42:01 -05:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- 'master'
|
2012-03-12 11:57:22 +01:00
|
|
|
rvm:
|
|
|
|
- 1.9.2
|
2012-05-29 02:38:15 +05:00
|
|
|
- 1.9.3
|
2011-11-15 08:42:01 -05:00
|
|
|
before_script:
|
2012-05-25 16:38:23 +03:00
|
|
|
- "cp config/database.yml.$DB config/database.yml"
|
2012-02-19 11:49:48 +02:00
|
|
|
- "cp config/gitlab.yml.example config/gitlab.yml"
|
2011-11-15 08:51:43 -05:00
|
|
|
- "bundle exec rake db:create RAILS_ENV=test"
|
|
|
|
- "bundle exec rake db:migrate RAILS_ENV=test"
|
2011-11-15 08:42:01 -05:00
|
|
|
- "bundle exec rake db:seed_fu RAILS_ENV=test"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
|
|
script: "bundle exec rake travis"
|