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