2013-01-09 19:43:49 +00:00
|
|
|
language: ruby
|
2012-05-25 13:38:23 +00:00
|
|
|
env:
|
2013-11-02 13:53:33 +00:00
|
|
|
global:
|
|
|
|
- TRAVIS=true
|
|
|
|
matrix:
|
2014-02-21 10:32:06 +00:00
|
|
|
- TASK=spinach DB=mysql
|
2014-04-11 19:52:49 +00:00
|
|
|
- TASK=spec:api DB=mysql
|
2014-04-12 08:56:37 +00:00
|
|
|
- TASK=spec:feature DB=mysql
|
2014-04-11 19:52:49 +00:00
|
|
|
- TASK=spec:other DB=mysql
|
2014-02-21 10:32:06 +00:00
|
|
|
- TASK=jasmine:ci DB=mysql
|
|
|
|
- TASK=spinach DB=postgresql
|
2014-04-12 07:05:08 +00:00
|
|
|
- TASK=spec:api DB=postgresql
|
2014-04-12 08:56:37 +00:00
|
|
|
- TASK=spec:feature DB=postgresql
|
2014-04-11 19:52:49 +00:00
|
|
|
- TASK=spec:other DB=postgresql
|
2014-02-23 13:30:06 +00:00
|
|
|
- TASK=jasmine:ci DB=postgresql
|
2012-05-28 21:38:15 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install libicu-dev -y
|
2011-11-15 13:42:01 +00:00
|
|
|
branches:
|
|
|
|
only:
|
2013-05-09 08:02:48 +00:00
|
|
|
- 'master'
|
2012-03-12 10:57:22 +00:00
|
|
|
rvm:
|
2013-04-09 16:29:45 +00:00
|
|
|
- 2.0.0
|
2012-09-07 01:01:04 +00:00
|
|
|
services:
|
2013-11-23 19:43:18 +00:00
|
|
|
- redis-server
|
2011-11-15 13:42:01 +00:00
|
|
|
before_script:
|
2012-05-25 13:38:23 +00:00
|
|
|
- "cp config/database.yml.$DB config/database.yml"
|
2012-02-19 09:49:48 +00:00
|
|
|
- "cp config/gitlab.yml.example config/gitlab.yml"
|
2014-03-19 02:21:25 +00:00
|
|
|
- "bundle exec rake db:setup"
|
|
|
|
- "bundle exec rake db:seed_fu"
|
2013-11-02 13:53:33 +00:00
|
|
|
script: "bundle exec rake $TASK --trace"
|
2013-12-02 08:39:46 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|