mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
39 lines
836 B
YAML
39 lines
836 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-1.7.8
|
|
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"
|
|
|
|
# This below is a temporary shim to bypass these bundler+jruby bugs:
|
|
#
|
|
# https://github.com/bundler/bundler/issues/4975
|
|
# https://github.com/bundler/bundler/issues/4984
|
|
install:
|
|
- gem update --system 2.6.14
|
|
- gem install bundler --version 1.15.4
|
|
- bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
|
|
script:
|
|
- "bundle exec rake $CHECK"
|