diff --git a/.travis.yml b/.travis.yml index 679787e7d..7131b30b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,29 +3,25 @@ sudo: false services: - postgresql env: - - RAILS_VERSION=6.0.0 DATABASE_URL=postgres://postgres@localhost/jr_test - - RAILS_VERSION=6.0.0 - - RAILS_VERSION=5.2.3 DATABASE_URL=postgres://postgres@localhost/jr_test - - RAILS_VERSION=5.2.3 + - RAILS_VERSION=6.1.1 DATABASE_URL=postgres://postgres@localhost/jr_test + - RAILS_VERSION=6.1.1 + - RAILS_VERSION=6.0.3.4 DATABASE_URL=postgres://postgres@localhost/jr_test + - RAILS_VERSION=6.0.3.4 + - RAILS_VERSION=5.2.4.4 DATABASE_URL=postgres://postgres@localhost/jr_test + - RAILS_VERSION=5.2.4.4 - RAILS_VERSION=5.1.7 - RAILS_VERSION=5.0.7.2 - - RAILS_VERSION=4.2.11 rvm: - - 2.4.9 - - 2.5.7 - - 2.6.5 + - 2.6.6 + - 2.7.2 + - 3.0.0 matrix: - exclude: - - rvm: 2.6.5 - env: "RAILS_VERSION=4.2.11" - - rvm: 2.4.9 - env: "RAILS_VERSION=6.0.0" - - rvm: 2.4.9 - env: "RAILS_VERSION=6.0.0 DATABASE_URL=postgres://postgres@localhost/jr_test" - - rvm: 2.4.9 - env: "RAILS_VERSION=5.2.3 DATABASE_URL=postgres://postgres@localhost/jr_test" + allow_failures: + - env: "RAILS_VERSION=6.1.1" + - env: "RAILS_VERSION=6.1.1 DATABASE_URL=postgres://postgres@localhost/jr_test" + - rvm: 3.0.0 before_install: - - gem install bundler --version 1.17.3 + - gem install bundler --version 2.2.5 before_script: - sh -c "if [ '$DATABASE_URL' = 'postgres://postgres@localhost/jr_test' ]; then psql -c 'DROP DATABASE IF EXISTS jr_test;' -U postgres; fi" - sh -c "if [ '$DATABASE_URL' = 'postgres://postgres@localhost/jr_test' ]; then psql -c 'CREATE DATABASE jr_test;' -U postgres; fi" \ No newline at end of file