Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 14 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"