vmpooler/.travis.yml
kirby@puppetlabs.com 82f141793b Update jruby version for travis to 9.1.13.0
This commit updates travis configuration to replace jruby 1.7.13 with 9.1.13.0. Without this change the jruby version tested is out of date and does not support features like safe_load, which affects issue #243.
2018-01-11 11:04:42 -08:00

37 lines
767 B
YAML

cache: bundler
sudo: false
language: ruby
services:
- redis-server
matrix:
include:
- rvm: 2.3.3
env: "CHECK=rubocop"
- rvm: 2.1.1
env: "CHECK=test"
- rvm: 2.2.1
env: "CHECK=test"
- rvm: 2.3.3
env: "CHECK=test"
- rvm: jruby-9.1.13.0
env: "CHECK=test"
# Remove the allow_failures section once
# Rubocop is required for Travis to pass a build
allow_failures:
- rvm: 2.3.3
env: "CHECK=rubocop"
# Pin to specific rubygem and bundler for jruby tests
install:
- gem update --system 2.6.14
- gem install bundler --version 1.15.4
- bundle _1.15.4_ --version
- bundle _1.15.4_ install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
script:
- "bundle _1.15.4_ exec rake $CHECK"