aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2019-01-08 16:10:13 -0800
committerGitHub <noreply@github.com>2019-01-08 16:10:13 -0800
commit647cd360b251d3e0eeb04674c03ff01652c12ef4 (patch)
treed89104ffe6b479f3b4a6ce2853ba05180bdea211 /.travis.yml
parent1ff420767cfb06c0b14c9db65ebd306569fa8284 (diff)
parente4075c634196280930aeea295563d393b6f38e5c (diff)
downloadpuppet-augeas_core-647cd360b251d3e0eeb04674c03ff01652c12ef4.tar.gz
puppet-augeas_core-647cd360b251d3e0eeb04674c03ff01652c12ef4.tar.bz2
Merge pull request #17 from melissa/maint/master/update-pdk-1.8.0-templates
(maint) update PDK to 1.8.0; update all templates
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index e8c30de..fdb8668 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,22 +1,24 @@
---
-sudo: false
dist: trusty
language: ruby
cache: bundler
before_install:
+ - if [ $BUNDLER_VERSION ]; then
+ gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri;
+ fi
- bundle -v
- rm -f Gemfile.lock
- - gem update --system
+ - gem update --system $RUBYGEMS_VERSION
- gem --version
- bundle -v
script:
- 'bundle exec rake $CHECK'
bundler_args: --without system_tests
rvm:
- - 2.5.3
+ - 2.5.1
env:
global:
- - PUPPET_GEM_VERSION="~> 6.0"
+ - BEAKER_PUPPET_COLLECTION=puppet6 PUPPET_GEM_VERSION="~> 6.0"
matrix:
fast_finish: true
include:
@@ -26,9 +28,9 @@ matrix:
env: CHECK=parallel_spec
-
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
- rvm: 2.4.5
+ rvm: 2.4.4
-
- env: PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec
+ env: PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec RUBYGEMS_VERSION=2.7.8 BUNDLER_VERSION=1.17.3
rvm: 2.1.9
branches:
only: