BigW Consortium Gitlab

.travis.yml 531 Bytes
Newer Older
1
language: ruby
2
env:
3
  - DB=postgresql
4
  - DB=mysql
5 6
before_install:
  - sudo apt-get install libicu-dev -y
7
  - gem install charlock_holmes -v="0.6.9"
gitlabhq committed
8 9 10
branches:
  only:
    - 'master'
11
rvm:
12
  - 1.9.3-p327
13 14
services:
  - mysql
Andrey Kumanyaev committed
15
  - postgresql
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 committed
20 21
  - "bundle exec rake db:seed_fu RAILS_ENV=test"
  - "sh -e /etc/init.d/xvfb start"
Valeriy Sizov committed
22
script: "bundle exec rake travis --trace"