.travis.yml 528 Bytes
Newer Older
1
language: ruby
2
env:
3 4 5 6 7 8 9
  global:
    - DB=mysql
    - TRAVIS=true
  matrix:
    - TASK=spinach
    - TASK=spec
    - TASK=jasmine:ci
10 11
before_install:
  - sudo apt-get install libicu-dev -y
gitlabhq's avatar
gitlabhq committed
12 13
branches:
  only:
14
    - 'master'
15
rvm:
16
  - 2.0.0
17 18
services:
  - mysql
19
  - redis-server
gitlabhq's avatar
gitlabhq committed
20
before_script:
21
  - "cp config/database.yml.$DB config/database.yml"
22
  - "cp config/gitlab.yml.example config/gitlab.yml"
23 24 25
  - "bundle exec rake db:setup"
  - "bundle exec rake db:seed_fu"
script: "bundle exec rake $TASK --trace"
26 27
notifications:
  email: false