gitlabhq/.travis.yml

27 lines
815 B
YAML
Raw Normal View History

2012-05-25 15:38:23 +02:00
env:
2012-12-18 17:39:35 +01:00
- DB=postgresql
2012-05-25 15:38:23 +02:00
- DB=mysql
before_install:
- sudo apt-get install libicu-dev -y
2012-11-16 11:47:09 +01:00
- wget -P /tmp http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-i686.tar.bz2
- tar -xf /tmp/phantomjs-1.7.0-linux-i686.tar.bz2 -C /tmp/
2012-11-16 11:54:35 +01:00
- sudo rm -rf /usr/local/phantomjs
- sudo mv /tmp/phantomjs-1.7.0-linux-i686 /usr/local/phantomjs
- gem install charlock_holmes -v="0.6.9"
2011-11-15 14:42:01 +01:00
branches:
only:
- 'master'
rvm:
- 1.9.3
services:
- mysql
2012-10-10 01:41:44 +02:00
- postgresql
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"
2012-10-04 12:55:29 +02:00
script: "bundle exec rake travis --trace"