aboutsummaryrefslogtreecommitdiff
path: root/.travis/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/setup.sh')
-rw-r--r--.travis/setup.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis/setup.sh b/.travis/setup.sh
new file mode 100644
index 0000000..ae1a043
--- /dev/null
+++ b/.travis/setup.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# THIS FILE IS MANAGED BY MODULESYNC
+
+rm -f Gemfile.lock
+if [ "${PUPPET_VERSION}" = '~> 4.0' ]; then
+ gem install bundler -v '< 2' --no-rdoc --no-ri;
+else
+ gem update --system;
+ gem update bundler;
+ bundle --version;
+fi