OSDN Git Service

f22f9659efc2718b83990e40ee6d7b6ad9271a99
[wvm/gitlab.git] / .travis.yml
1 language: ruby
2 env:
3   - DB=mysql TRAVIS=true
4 before_install:
5   - rvm get stable
6   - sudo apt-get install libicu-dev -y
7   - gem install charlock_holmes -v="0.6.9"
8 branches:
9   only:
10     - 'master'
11 rvm:
12   - 1.9.3-p429
13   - 2.0.0
14 services:
15   - mysql
16   - postgresql
17 before_script:
18   - "cp config/database.yml.$DB config/database.yml"
19   - "cp config/gitlab.yml.example config/gitlab.yml"
20   - "bundle exec rake db:setup RAILS_ENV=test"
21   - "bundle exec rake db:seed_fu RAILS_ENV=test"
22   - "sh -e /etc/init.d/xvfb start"
23 script: "bundle exec rake travis --trace"