2012-05-25 09:38:23 -04:00
|
|
|
env:
|
2012-12-18 11:39:35 -05:00
|
|
|
- DB=postgresql
|
2012-05-25 09:38:23 -04:00
|
|
|
- DB=mysql
|
2012-05-28 17:38:15 -04:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install libicu-dev -y
|
2012-11-16 05:47:09 -05: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 05:54:35 -05:00
|
|
|
- sudo rm -rf /usr/local/phantomjs
|
|
|
|
- sudo mv /tmp/phantomjs-1.7.0-linux-i686 /usr/local/phantomjs
|
2012-11-09 08:24:28 -05:00
|
|
|
- gem install charlock_holmes -v="0.6.9"
|
2011-11-15 08:42:01 -05:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- 'master'
|
2012-03-12 06:57:22 -04:00
|
|
|
rvm:
|
2012-05-28 17:38:15 -04:00
|
|
|
- 1.9.3
|
2012-09-06 21:01:04 -04:00
|
|
|
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"
|
2012-12-18 13:43:44 -05: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 06:55:29 -04:00
|
|
|
script: "bundle exec rake travis --trace"
|