Skip to content

Commit

Permalink
Install fixed-version sqlite3 in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaniwaki committed Oct 22, 2019
1 parent 60a9671 commit c847025
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ rvm:
- 2.5
- 2.6
env:
jobs:
-
- ACTIVE_RECORD_VERSION=4.0.0
- ACTIVE_RECORD_VERSION=4.1.0
- ACTIVE_RECORD_VERSION=4.2.0
- ACTIVE_RECORD_VERSION=5.0.0
- ACTIVE_RECORD_VERSION=4.0.0 SQLITE3_VERSION=1.3.13
- ACTIVE_RECORD_VERSION=4.1.0 SQLITE3_VERSION=1.3.13
- ACTIVE_RECORD_VERSION=4.2.0 SQLITE3_VERSION=1.3.13
- ACTIVE_RECORD_VERSION=5.0.0 SQLITE3_VERSION=1.3.13
- ACTIVE_RECORD_VERSION=6.0.0
matrix:
allow_failures:
Expand All @@ -30,7 +31,7 @@ before_install:
- gem update --system
- gem --version
install:
- gem install bundler;
- gem install bundler
- bundle --version
- bundle install --jobs=3 --retry=3
script:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ gem 'gem-release'
gem 'pry'

gem 'activerecord', "~> #{ENV['ACTIVE_RECORD_VERSION']}" if ENV['ACTIVE_RECORD_VERSION'].to_s != ''
gem 'sqlite3', "~> #{ENV['SQLITE3_VERSION']}" if ENV['SQLITE3_VERSION'].to_s != ''

0 comments on commit c847025

Please sign in to comment.