aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMelissa Stone <melissa@puppet.com>2019-01-08 15:57:28 -0800
committerMelissa Stone <melissa@puppet.com>2019-01-08 15:57:28 -0800
commit622674eb39852a6f2890582c0786a49c0d6d7a0f (patch)
tree0830b60fe6d0c53e83a70cda214623b06954f648 /.travis.yml
parent4b77469aa9cce6110f95f93f255a2740ec2d2393 (diff)
downloadpuppet-hosts_core-622674eb39852a6f2890582c0786a49c0d6d7a0f.tar.gz
puppet-hosts_core-622674eb39852a6f2890582c0786a49c0d6d7a0f.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: