For rails versions less than 5.2, ActiveRecord needs the sqlite3 version
1.3.6 internally but the version installed with bundle is 1.4.1 due to
which migration fails in specs. So hardcode sqlite3 versions to 1.3.6 in
rails < 5.2 with this PR. You can find more details about the issue
here
Also, ruby versions less than 2.4 and rails versions less than 4.2. are
no more officially supported, so remove those versions from travis matrix
as we don't need to support those versions anymore.
There is one more fix where the AddAfterSurveyContentToSurvey
migration's base class was hardcoded to have [5] at the end, keeping it
dynamic will fix issues as that is not supported in prior versions
For rails versions less than 5.2, ActiveRecord needs the sqlite3 version 1.3.6 internally but the version installed with bundle is 1.4.1 due to which migration fails in specs. So hardcode sqlite3 versions to 1.3.6 in rails < 5.2 with this PR. You can find more details about the issue here
Also, ruby versions less than 2.4 and rails versions less than 4.2. are no more officially supported, so remove those versions from travis matrix as we don't need to support those versions anymore.
There is one more fix where the
AddAfterSurveyContentToSurvey
migration's base class was hardcoded to have [5] at the end, keeping it dynamic will fix issues as that is not supported in prior versions