2014-07-17 20:02:36 +08:00
|
|
|
# http://about.travis-ci.org/docs/user/build-configuration/
|
|
|
|
language: ruby
|
|
|
|
|
|
|
|
bundler_args: '--without production'
|
|
|
|
|
2014-07-17 21:04:53 +08:00
|
|
|
script: CODECLIMATE_REPO_TOKEN=7d6b988f58234bf1560305412d10d9530902beebdbe2fb938b6a934f1d352578 bundle exec rake
|
|
|
|
|
2014-07-17 20:02:36 +08:00
|
|
|
before_install:
|
|
|
|
- "cat /etc/timezone"
|
|
|
|
- "grep -i processor /proc/cpuinfo | wc -l"
|
|
|
|
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
|
|
|
|
- "gem install bundler --pre"
|
|
|
|
- "bundle -v"
|
|
|
|
|
2014-07-17 20:42:36 +08:00
|
|
|
before_script:
|
|
|
|
- "bundle exec rake travis:before_script"
|
2014-07-17 20:51:45 +08:00
|
|
|
services:
|
|
|
|
- mongodb
|
2014-07-17 20:42:36 +08:00
|
|
|
|
2014-07-17 20:02:36 +08:00
|
|
|
rvm:
|
|
|
|
- 2.0.0
|
2014-07-21 15:11:35 +08:00
|
|
|
- 2.1.0
|