1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/.travis.yml

37 lines
725 B
YAML
Raw Normal View History

sudo: false
language: ruby
install:
- git clone https://github.com/ruby/mspec.git ../mspec
script:
- if [ -n "$RUBOCOP" ]; then gem install rubocop -v 0.52.0 && rubocop; fi
- ../mspec/bin/mspec $MSPEC_OPTS
matrix:
include:
- os: osx
osx_image: xcode9
rvm: 2.4.2
env: CHECK_LEAKS=true
- os: linux
rvm: 2.4.2
env: MSPEC_OPTS="-R2 -ff"
- os: linux
rvm: 2.2.8
- os: linux
rvm: 2.3.5
- os: linux
rvm: 2.4.2
env: CHECK_LEAKS=true RUBOCOP=true
- os: linux
rvm: ruby-head
allow_failures:
- os: linux
rvm: ruby-head
branches:
only:
- master
- /^try/
notifications:
email:
on_success: change
on_failure: change