2012-05-25 15:38:23 +02:00
|
|
|
env:
|
|
|
|
- DB=mysql
|
2012-05-28 23:38:15 +02:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install libicu-dev -y
|
2012-08-11 22:33:49 +02:00
|
|
|
- sudo apt-get install libqt4-dev libqtwebkit-dev -y
|
2012-06-17 21:53:40 +02:00
|
|
|
- gem install charlock_holmes -v="0.6.8"
|
2011-11-15 14:42:01 +01:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- 'master'
|
2012-03-12 11:57:22 +01:00
|
|
|
rvm:
|
2012-05-28 23:38:15 +02:00
|
|
|
- 1.9.3
|
2012-09-07 03:01:04 +02:00
|
|
|
services:
|
|
|
|
- mysql
|
2011-11-15 14:42:01 +01:00
|
|
|
before_script:
|
2012-05-25 15:38:23 +02:00
|
|
|
- "cp config/database.yml.$DB config/database.yml"
|
2012-02-19 10:49:48 +01:00
|
|
|
- "cp config/gitlab.yml.example config/gitlab.yml"
|
2011-11-15 14:51:43 +01:00
|
|
|
- "bundle exec rake db:create RAILS_ENV=test"
|
|
|
|
- "bundle exec rake db:migrate RAILS_ENV=test"
|
2011-11-15 14:42:01 +01:00
|
|
|
- "bundle exec rake db:seed_fu RAILS_ENV=test"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
|
|
script: "bundle exec rake travis"
|