mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
bf7ea9a3af
- drop unused Travis setting sudo: false - see https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
37 lines
893 B
YAML
37 lines
893 B
YAML
language: ruby
|
|
addons:
|
|
postgresql: "10"
|
|
apt:
|
|
packages:
|
|
- postgresql-10
|
|
- postgresql-client-10
|
|
env:
|
|
global:
|
|
- PGPORT=5433
|
|
matrix:
|
|
- DATABASE_ADAPTER=sqlite3
|
|
- DATABASE_ADAPTER=postgresql
|
|
rvm:
|
|
- 2.4.6
|
|
- 2.5.5
|
|
- 2.6.3
|
|
gemfile:
|
|
- gemfiles/rails_4_2.gemfile
|
|
- gemfiles/rails_5_0.gemfile
|
|
- gemfiles/rails_5_1.gemfile
|
|
- gemfiles/rails_5_2.gemfile
|
|
- gemfiles/rails_6_0.gemfile
|
|
matrix:
|
|
exclude:
|
|
- rvm: 2.4.6
|
|
gemfile: gemfiles/rails_6_0.gemfile
|
|
- rvm: 2.6.3
|
|
gemfile: gemfiles/rails_4_2.gemfile
|
|
cache: bundler
|
|
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
|
|
before_install:
|
|
- gem update --system '2.7.8' --no-document
|
|
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
|
- gem install bundler -v '< 2' --no-document
|
|
install: "bundle install --jobs=3 --retry=3"
|
|
script: "bundle exec rake"
|