2017-05-07 12:04:49 +00:00
|
|
|
sudo: false
|
|
|
|
language: ruby
|
|
|
|
install:
|
|
|
|
- git clone https://github.com/ruby/mspec.git ../mspec
|
|
|
|
script:
|
2017-06-29 14:35:37 +00:00
|
|
|
- if [ -n "$RUBOCOP" ]; then gem install rubocop -v 0.49.1 && rubocop; fi
|
2017-05-07 12:04:49 +00:00
|
|
|
- ../mspec/bin/mspec $MSPEC_OPTS
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
rvm: 2.4.0
|
|
|
|
- os: linux
|
|
|
|
rvm: 2.4.1
|
|
|
|
env: MSPEC_OPTS="-R2 -ff"
|
|
|
|
- os: linux
|
|
|
|
rvm: 2.2.7
|
|
|
|
- os: linux
|
|
|
|
rvm: 2.3.4
|
|
|
|
- os: linux
|
|
|
|
rvm: 2.4.1
|
2017-06-29 14:35:37 +00:00
|
|
|
env: CHECK_LEAKS=true RUBOCOP=true
|
2017-05-07 12:04:49 +00:00
|
|
|
- os: linux
|
|
|
|
rvm: ruby-head
|
2017-05-27 21:55:02 +00:00
|
|
|
allow_failures:
|
|
|
|
- os: linux
|
|
|
|
rvm: ruby-head
|
2017-05-07 12:04:49 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^try/
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|