summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6ad81cc..b1226a2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,13 @@
cache: bundler
before_install:
- - gem install bundler
+ - |
+ export RVM_CURRENT=`rvm current|cut -c6-8`
+ if [ "${RVM_CURRENT}" = "2.0" ] || \
+ [ "${RVM_CURRENT}" = "2.1" ] || \
+ [ "${RVM_CURRENT}" = "2.2" ]; then
+ gem install bundler -v '< 2'
+ fi
+
rvm:
- 2.0.0
- 2.1