summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-07-24 08:18:22 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-24 08:18:22 +0200
commit8f759f0223eacdc646a6168cb0a20caae52e2fd6 (patch)
treea3c17ce9878e6f53b506044605718447c12044d4
parentFix sed command syntax (diff)
downloadglsamaker-8f759f0223eacdc646a6168cb0a20caae52e2fd6.tar.gz
glsamaker-8f759f0223eacdc646a6168cb0a20caae52e2fd6.tar.bz2
glsamaker-8f759f0223eacdc646a6168cb0a20caae52e2fd6.zip
Use bundler 1.x on travis for now
rvm's ruby25 comes with bundler 2.x by default, but we are still on 1.x on Gentoo, so prefer to use that instead. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 680a2b9..d69e055 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,11 @@ branches:
addons:
mariadb: '10.2'
+before_install:
+ - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
+ - gem install bundler -v '< 2'
+
+
before_script:
- sed 's/i_forgot_to_set_this/"test-secret"/' < config/initializers/glsamaker.rb.sample > config/initializers/glsamaker.rb
- cp config/database.yml.mysql config/database.yml