Optimise the Travis build matrix

Make sure Travis starts its build from the newest Ruby version and allow
failures on older Ruby versions. Also specify the fast_finish directive
that instructs Travis to mark the build as successful/failed when all
builds with Rubies that are not allowed to fail are complete.
This commit is contained in:
Petko Bordjukov 2015-07-19 16:20:15 +03:00
parent 33264bd9f1
commit cb7b01e7db
1 changed files with 8 additions and 3 deletions

View File

@ -1,10 +1,15 @@
language: ruby
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.2
- 2.1.6
- 2.0.0
- 1.9.3
matrix:
allow_failures:
- rvm: 1.9.3
- rvm: 2.0.0
fast_finish: true
script:
- RAILS_ENV=test bundle exec rake --trace bootstrap spec
sudo: false