language: ruby # List is from https://www.ruby-lang.org/en/downloads/branches/ # Merged with whatever is the top of each branch at https://www.ruby-lang.org/en/downloads/releases/ matrix: include: - rvm: "1.9.3" - rvm: "2.0.0" - rvm: "2.1.10" - rvm: "2.2.9" - rvm: "2.3.6" - rvm: "2.4.2" - rvm: "2.5.0" - rvm: "2.5.0" env: LINT=rubocop allow_failures: # These are EOL versions of ruby - rvm: "1.9.3" - rvm: "2.0.0" - rvm: "2.1.10" before_install: gem update --system script: - bundle exec rake test - | if [[ "$LINT" == "rubocop" ]] ; then bundle exec rake rubocop fi