Skip to content

Commit

Permalink
update travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Aug 19, 2019
1 parent 7d43d6d commit 3ce9c90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
language: ruby

sudo: false

rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- ruby-head

before_install: gem install bundler
env: SUITE="rspec"
script: bundle exec $SUITE

matrix:
fast_finish: true
include:
- rvm: 2.3
- rvm: 2.4
- rvm: 2.5
- rvm: 2.6
- rvm: 2.6 # Only run RuboCop on the latest Ruby
env: SUITE="rubocop"
- rvm: ruby-head
allow_failures:
- rvm: ruby-head
- rvm: ruby-head
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ end

RSpec::Core::RakeTask.new(:rspec)

task default: :rspec
task default: %i[rubocop rspec]

0 comments on commit 3ce9c90

Please sign in to comment.