add travis yml

This commit is contained in:
yafeilee 2014-07-17 20:02:36 +08:00
parent 08ab6051f7
commit 7e59a6d980
1 changed files with 18 additions and 0 deletions

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
# http://about.travis-ci.org/docs/user/build-configuration/
language: ruby
bundler_args: '--without production'
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"
before_script:
- "bundle exec rake travis:before_script"
rvm:
- 2.0.0
- ruby-head