Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
* Add "language: ruby" to show the languate mode explicitly.
* Add "sudo: false" and "cache: bundler" to save system resource.
* Run default script (bundle exec rake) that includes
  both RSpec and Document status test.
* Update Rubies to latest version.
* Add ruby-head as allow_failures.
  * It's good to know new version Ruby's issue as faster before the release.
  * fast_finish is to get the Travis result as faster
    without waiting the result of the "allow_failures" items.
    See https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
  • Loading branch information
junaruga committed Jun 9, 2017
1 parent eb1a7ac commit 3c88093
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
language: ruby

sudo: false

cache: bundler

before_install:
- rvm get head
- gem update bundler

rvm:
- 2.2.6
- 2.3.3
- 2.4.0
- 2.2.7
- 2.3.4
- 2.4.1
- ruby-head

script: bundle exec rspec **/spec/*_spec.rb
matrix:
allow_failures:
- rvm: ruby-head
fast_finish: true

notifications:
recipients:
Expand Down

0 comments on commit 3c88093

Please sign in to comment.