.travis.yml 584 B

12345678910111213141516171819202122232425262728
  1. language: ruby
  2. bundler_args: '-j6' # 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. - bundler -v
  10. rvm: 2.0.0
  11. gemfile:
  12. - gemfiles/rails4.gemfile
  13. - gemfiles/rails32.gemfile
  14. - gemfiles/rails31.gemfile
  15. matrix:
  16. exclude:
  17. - rvm: 2.0.0
  18. gemfile: gemfiles/rails31.gemfile
  19. include:
  20. - rvm: 1.9.3
  21. gemfile: gemfiles/rails31.gemfile