gitlab-org--gitlab-foss/.travis.yml

24 lines
616 B
YAML
Raw Normal View History

2012-05-25 09:38:23 -04:00
env:
2012-10-09 19:41:44 -04:00
- DB=postgresql
2012-05-25 09:38:23 -04:00
- DB=mysql
before_install:
- sudo apt-get install libicu-dev -y
2012-08-11 16:33:49 -04:00
- sudo apt-get install libqt4-dev libqtwebkit-dev -y
2012-06-17 15:53:40 -04:00
- gem install charlock_holmes -v="0.6.8"
2011-11-15 08:42:01 -05:00
branches:
only:
- 'master'
rvm:
- 1.9.3
services:
- mysql
2012-10-09 19:41:44 -04:00
- postgresql
2011-11-15 08:42:01 -05:00
before_script:
2012-05-25 09:38:23 -04:00
- "cp config/database.yml.$DB config/database.yml"
2012-02-19 04:49:48 -05: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"
2012-10-04 06:55:29 -04:00
script: "bundle exec rake travis --trace"