mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
This commit updates travis to use ruby 2.4.9, 2.5.7, and jruby 9.2.9.0 for tests. Test with latest z releases of ruby versions
31 lines
589 B
YAML
31 lines
589 B
YAML
cache: bundler
|
|
sudo: false
|
|
language: ruby
|
|
|
|
matrix:
|
|
include:
|
|
- rvm: 2.4.9
|
|
env: "CHECK=rubocop"
|
|
|
|
- rvm: 2.4.9
|
|
env: "CHECK=test"
|
|
|
|
- rvm: 2.5.7
|
|
env: "CHECK=test"
|
|
|
|
- rvm: jruby-9.2.9.0
|
|
env: "CHECK=test"
|
|
|
|
# Remove the allow_failures section once
|
|
# Rubocop is required for Travis to pass a build
|
|
allow_failures:
|
|
- rvm: 2.4.9
|
|
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"
|