gitlabhq/.travis.yml

23 lines
531 B
YAML
Raw Normal View History

2013-01-09 14:43:49 -05:00
language: ruby
2012-05-25 16:38:23 +03:00
env:
2012-12-18 18:39:35 +02:00
- DB=postgresql
2012-05-25 16:38:23 +03:00
- DB=mysql
before_install:
- sudo apt-get install libicu-dev -y
- gem install charlock_holmes -v="0.6.9"
2011-11-15 08:42:01 -05:00
branches:
only:
- 'master'
rvm:
2013-01-09 14:43:49 -05:00
- 1.9.3-p327
services:
- mysql
2012-10-10 03:41:44 +04:00
- postgresql
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"
2012-12-18 20:43:44 +02:00
- "bundle exec rake db:setup 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"
2012-10-04 13:55:29 +03:00
script: "bundle exec rake travis --trace"