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