gitlab-org--gitlab-foss/.travis.yml

43 lines
1.1 KiB
YAML
Raw Normal View History

2013-01-09 14:43:49 -05:00
language: ruby
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:
- TASK=spinach_project DB=mysql
- TASK=spinach_other DB=mysql
2014-04-11 15:52:49 -04:00
- TASK=spec:api DB=mysql
- 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
- TASK=spinach_project DB=postgresql
- TASK=spinach_other DB=postgresql
2014-04-12 03:05:08 -04:00
- TASK=spec:api DB=postgresql
- 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
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:
- 'master'
rvm:
2013-04-09 12:29:45 -04:00
- 2.0.0
services:
- 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"
notifications:
email: false
2014-08-29 12:44:56 -04:00
git:
depth: 10