2017-05-07 08:04:49 -04:00
|
|
|
sudo: false
|
|
|
|
language: ruby
|
|
|
|
install:
|
|
|
|
- git clone https://github.com/ruby/mspec.git ../mspec
|
|
|
|
script:
|
|
|
|
- ../mspec/bin/mspec $MSPEC_OPTS
|
|
|
|
matrix:
|
|
|
|
include:
|
2017-12-27 11:12:47 -05:00
|
|
|
- rvm: 2.5.0
|
2017-05-07 08:04:49 -04:00
|
|
|
env: MSPEC_OPTS="-R2 -ff"
|
2017-12-27 11:12:47 -05:00
|
|
|
- rvm: 2.2.9
|
|
|
|
- rvm: 2.3.6
|
|
|
|
- rvm: 2.4.3
|
|
|
|
- rvm: 2.5.0
|
|
|
|
env: CHECK_LEAKS=true
|
|
|
|
- rvm: ruby-head
|
|
|
|
- env: RUBOCOP=true
|
|
|
|
rvm: 2.4.3
|
|
|
|
script:
|
|
|
|
- gem install rubocop -v 0.52.0
|
|
|
|
- rubocop
|
2017-05-27 17:55:02 -04:00
|
|
|
allow_failures:
|
2017-12-27 11:12:47 -05:00
|
|
|
- rvm: ruby-head
|
2017-05-07 08:04:49 -04:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^try/
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|