mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
This commit updates ruby versions specified for use when testing in travis.yml. Specifically, ruby 2.4.x and 2.5.x are added, while 2.2 is updated to 2.2.10, and 2.3 is updated to 2.3.7. Additionally, jruby testing is updated to use 9.1.17.0. Without this change we do not test ruby 2.4.x or 2.5.x with vmpooler.
39 lines
702 B
YAML
39 lines
702 B
YAML
cache: bundler
|
|
sudo: false
|
|
language: ruby
|
|
services:
|
|
- redis-server
|
|
|
|
matrix:
|
|
include:
|
|
- rvm: 2.3.7
|
|
env: "CHECK=rubocop"
|
|
|
|
- rvm: 2.2.10
|
|
env: "CHECK=test"
|
|
|
|
- rvm: 2.3.7
|
|
env: "CHECK=test"
|
|
|
|
- rvm: 2.4.4
|
|
env: "CHECK=test"
|
|
|
|
- rvm: 2.5.1
|
|
env: "CHECK=test"
|
|
|
|
- rvm: jruby-9.1.17.0
|
|
env: "CHECK=test"
|
|
|
|
# Remove the allow_failures section once
|
|
# Rubocop is required for Travis to pass a build
|
|
allow_failures:
|
|
- rvm: 2.3.7
|
|
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"
|