Revert "Upgrade bundler and extend travis (#1280)" (#1286)

This reverts commit dd839771ad.
This commit is contained in:
Georg 2019-09-04 16:22:55 +03:00 committed by GitHub
parent 114fbcf859
commit 96d1ab2a41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 7 deletions

View file

@ -1,8 +1,4 @@
language: ruby
rvm:
- 2.4
- 2.5
- 2.6
cache: bundler
env:
- DB=postgresql
@ -14,8 +10,8 @@ before_install:
- "sudo mv -f ~/chromedriver /usr/local/share/"
- "sudo chmod +x /usr/local/share/chromedriver"
- "sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver"
- "gem update --system"
- "gem install bundler"
- "gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true"
- "gem install bundler -v '< 2'"
before_script:
- "cp config/application-example.yml config/application.yml"
- "cp config/database-travis.yml config/database.yml"

View file

@ -1,3 +1,10 @@
# Use https only for accessing github
# https://github.com/bundler/bundler/pull/3447
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end if Bundler::VERSION < '2'
source 'https://rubygems.org'
# core

View file

@ -520,4 +520,4 @@ DEPENDENCIES
whenever (= 0.9.4)
BUNDLED WITH
2.0.2
1.17.3