aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMelissa Stone <melissa@puppet.com>2019-01-08 15:58:17 -0800
committerMelissa Stone <melissa@puppet.com>2019-01-08 15:58:17 -0800
commite4075c634196280930aeea295563d393b6f38e5c (patch)
treed89104ffe6b479f3b4a6ce2853ba05180bdea211 /.travis.yml
parent090a165445c0e7a0d3fd161d43e771e877932052 (diff)
downloadpuppet-augeas_core-e4075c634196280930aeea295563d393b6f38e5c.tar.gz
puppet-augeas_core-e4075c634196280930aeea295563d393b6f38e5c.tar.bz2
(maint) Use templates from pdk-templates repo
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 6664271..fdb8668 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,14 @@
---
-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:
@@ -28,7 +30,7 @@ matrix:
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
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: