2017-05-07 08:04:49 -04:00
|
|
|
sudo: false
|
|
|
|
language: ruby
|
|
|
|
install:
|
|
|
|
- git clone https://github.com/ruby/mspec.git ../mspec
|
|
|
|
script:
|
2017-12-15 12:44:37 -05:00
|
|
|
- if [ -n "$RUBOCOP" ]; then gem install rubocop -v 0.52.0 && rubocop; fi
|
2017-05-07 08:04:49 -04:00
|
|
|
- ../mspec/bin/mspec $MSPEC_OPTS
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
2017-10-28 11:15:48 -04:00
|
|
|
osx_image: xcode9
|
|
|
|
rvm: 2.4.2
|
|
|
|
env: CHECK_LEAKS=true
|
2017-05-07 08:04:49 -04:00
|
|
|
- os: linux
|
2017-10-28 11:15:48 -04:00
|
|
|
rvm: 2.4.2
|
2017-05-07 08:04:49 -04:00
|
|
|
env: MSPEC_OPTS="-R2 -ff"
|
|
|
|
- os: linux
|
2017-10-28 11:15:48 -04:00
|
|
|
rvm: 2.2.8
|
2017-05-07 08:04:49 -04:00
|
|
|
- os: linux
|
2017-10-28 11:15:48 -04:00
|
|
|
rvm: 2.3.5
|
2017-05-07 08:04:49 -04:00
|
|
|
- os: linux
|
2017-10-28 11:15:48 -04:00
|
|
|
rvm: 2.4.2
|
2017-06-29 10:35:37 -04:00
|
|
|
env: CHECK_LEAKS=true RUBOCOP=true
|
2017-05-07 08:04:49 -04:00
|
|
|
- os: linux
|
|
|
|
rvm: ruby-head
|
2017-05-27 17:55:02 -04:00
|
|
|
allow_failures:
|
|
|
|
- os: linux
|
|
|
|
rvm: ruby-head
|
2017-05-07 08:04:49 -04:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^try/
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|