2013-01-09 14:43:49 -05:00
|
|
|
language: ruby
|
2014-08-27 10:27:26 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor/bundle
|
2012-05-25 09:38:23 -04:00
|
|
|
env:
|
2013-11-02 09:53:33 -04:00
|
|
|
global:
|
|
|
|
- TRAVIS=true
|
|
|
|
matrix:
|
2014-06-04 16:55:27 -04:00
|
|
|
- TASK=spinach_project DB=mysql
|
|
|
|
- TASK=spinach_other DB=mysql
|
2014-04-11 15:52:49 -04:00
|
|
|
- TASK=spec:api DB=mysql
|
2014-04-12 04:56:37 -04:00
|
|
|
- TASK=spec:feature DB=mysql
|
2014-04-11 15:52:49 -04:00
|
|
|
- TASK=spec:other DB=mysql
|
2014-02-21 05:32:06 -05:00
|
|
|
- TASK=jasmine:ci DB=mysql
|
2014-06-04 16:55:27 -04:00
|
|
|
- TASK=spinach_project DB=postgresql
|
|
|
|
- TASK=spinach_other DB=postgresql
|
2014-04-12 03:05:08 -04:00
|
|
|
- TASK=spec:api DB=postgresql
|
2014-04-12 04:56:37 -04:00
|
|
|
- TASK=spec:feature DB=postgresql
|
2014-04-11 15:52:49 -04:00
|
|
|
- TASK=spec:other DB=postgresql
|
2014-02-23 08:30:06 -05:00
|
|
|
- TASK=jasmine:ci DB=postgresql
|
2012-05-28 17:38:15 -04:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get install libicu-dev -y
|
2014-08-10 07:31:11 -04:00
|
|
|
install:
|
2014-08-29 12:44:56 -04:00
|
|
|
- "travis_retry bundle config build.nokogiri --use-system-libraries"
|
2014-08-10 07:31:11 -04:00
|
|
|
- "travis_retry bundle install --deployment --without production --retry 5"
|
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:
|
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"
|
2014-03-18 22:21:25 -04:00
|
|
|
- "bundle exec rake db:setup"
|
|
|
|
- "bundle exec rake db:seed_fu"
|
2013-11-02 09:53:33 -04:00
|
|
|
script: "bundle exec rake $TASK --trace"
|
2013-12-02 03:39:46 -05:00
|
|
|
notifications:
|
|
|
|
email: false
|
2014-08-29 12:44:56 -04:00
|
|
|
git:
|
|
|
|
depth: 10
|