gitlab-org--gitlab-foss/.travis.yml
Dmitriy Zaporozhets f6f80659ec
Override rake spec and rake spinach tasks
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-14 10:44:16 +02:00

26 lines
563 B
YAML

language: ruby
env:
global:
- TRAVIS=true
matrix:
- TASK=spinach DB=mysql
- TASK=spec DB=mysql
- TASK=jasmine:ci DB=mysql
- TASK=spinach DB=postgresql
- TASK=spec DB=postgresql
- TASK=jasmine:ci DB=postgresql
before_install:
- sudo apt-get install libicu-dev -y
branches:
only:
- 'master'
rvm:
- 2.0.0
services:
- redis-server
before_script:
- "cp config/database.yml.$DB config/database.yml"
- "cp config/gitlab.yml.example config/gitlab.yml"
script: "bundle exec rake $TASK --trace"
notifications:
email: false