hopefully get rid of cookiejar error at travis by getting rid of diaspora-clients ruby 1.9 dependencies before bundle install. Not sure why it's only needed if DB=postgres
This commit is contained in:
parent
4a564c0c0e
commit
e413a6e70a
1 changed files with 7 additions and 0 deletions
|
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Workaround dependency issues
|
||||||
|
if ([ "$DB" == "postgres" -a "$TRAVIS_RUBY_VERSION" == "ree" ]); then
|
||||||
|
echo "Rebuild Gemfile.lock to get rid of diaspora-clients 1.9 dependencies"
|
||||||
|
bundle update diaspora-client
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Ensure known RubyGems version
|
# Ensure known RubyGems version
|
||||||
if [ "$(gem --version)" != "1.8.17" ]; then
|
if [ "$(gem --version)" != "1.8.17" ]; then
|
||||||
echo "RubyGems version is $(gem --version). Changing..."
|
echo "RubyGems version is $(gem --version). Changing..."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue