vmpooler/.travis.yml
kirby@puppetlabs.com db1e90d893 Stop testing ruby 2.3.x
This commit updates travis configuration to stop testing 2.3.x and jruby 9.1.x. Without this change tests fail due to library incompatibilities with ruby 2.3.x.
2019-01-18 14:29:14 -08:00

33 lines
616 B
YAML

cache: bundler
sudo: false
language: ruby
services:
- redis-server
matrix:
include:
- rvm: 2.4.5
env: "CHECK=rubocop"
- rvm: 2.4.5
env: "CHECK=test"
- rvm: 2.5.3
env: "CHECK=test"
- rvm: jruby-9.2.5.0
env: "CHECK=test"
# Remove the allow_failures section once
# Rubocop is required for Travis to pass a build
allow_failures:
- rvm: 2.4.5
env: "CHECK=rubocop"
install:
- gem update --system
- gem install bundler
- bundle --version
- bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
script:
- "bundle exec rake $CHECK"