sudo: false language: ruby install: - git clone https://github.com/ruby/mspec.git ../mspec script: - ../mspec/bin/mspec $MSPEC_OPTS matrix: include: - rvm: 2.5.1 env: MSPEC_OPTS="-R2 -ff" - rvm: 2.3.7 - rvm: 2.4.4 - rvm: 2.5.1 env: CHECK_LEAKS=true - rvm: ruby-head - env: RUBOCOP=true rvm: 2.4.4 script: - gem install rubocop -v 0.54.0 - rubocop allow_failures: - rvm: ruby-head branches: only: - master - /^try/ notifications: email: on_success: change on_failure: change