2014-07-17 20:02:36 +08:00
|
|
|
# http://about.travis-ci.org/docs/user/build-configuration/
|
|
|
|
language: ruby
|
|
|
|
|
2016-03-17 13:50:39 +08:00
|
|
|
#bundler_args: '--without production'
|
2014-07-17 20:02:36 +08:00
|
|
|
|
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"
|
2016-03-17 13:50:39 +08:00
|
|
|
- "gem install bundler"
|
2014-07-17 20:02:36 +08:00
|
|
|
- "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:
|
2016-04-25 13:03:41 +08:00
|
|
|
- postgresql
|
2014-07-17 20:42:36 +08:00
|
|
|
|
2014-07-17 20:02:36 +08:00
|
|
|
rvm:
|
2016-04-25 13:03:41 +08:00
|
|
|
- 2.2.3
|