Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes ruby 2.7.x test on travis #72

Merged
merged 1 commit into from May 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 8 additions & 5 deletions .travis.yml
Expand Up @@ -5,17 +5,20 @@ addons:
mysql: '5.7'

before_install:
- gem i rubygems-update -v '<3' && update_rubygems
- gem i rubygems-update -v "<$RUBYGEMS_LESS_THAN" && update_rubygems
- "ruby -e 'exit RUBY_VERSION.to_f >= 2.6' && gem up bundler || gem i bundler -v '<2'"
- sudo service mysql restart


cache: bundler

env:
- DB=sqlite3
- DB=mysql
- DB=postgresql
global:
- RUBYGEMS_LESS_THAN=3
matrix:
- DB=sqlite3
- DB=mysql
- DB=postgresql

rvm:
- 2.6.3
Expand All @@ -32,7 +35,7 @@ matrix:
include:
- rvm: 2.7.1
gemfile: gemfiles/rails_60.gemfile
env: DB=postgresql
env: DB=postgresql RUBYGEMS_LESS_THAN=4
- rvm: 2.6.3
gemfile: gemfiles/rails_edge.gemfile
env: DB=postgresql
Expand Down