.travis.yml 569 B

123456789101112131415161718192021222324252627
  1. language: ruby
  2. bundler_args: '-j8' # avoid travis-ci to set deployment mode by default, and use parallel bundlerr
  3. #before_script: bundle install
  4. script: bundle exec rake spec
  5. before_install:
  6. - grep -i processor /proc/cpuinfo | wc -l
  7. - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
  8. - gem install bundler --pre
  9. rvm: 2.0.0
  10. gemfile:
  11. - gemfiles/rails4.gemfile
  12. - gemfiles/rails32.gemfile
  13. - gemfiles/rails31.gemfile
  14. matrix:
  15. exclude:
  16. - rvm: 2.0.0
  17. gemfile: gemfiles/rails31.gemfile
  18. include:
  19. - rvm: 1.9.3
  20. gemfile: gemfiles/rails31.gemfile