mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
30 lines
602 B
YAML
30 lines
602 B
YAML
language: ruby
|
|
sudo: false
|
|
cache: bundler
|
|
script: "bundle exec rake"
|
|
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
|
|
before_install:
|
|
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
|
- gem install bundler -v '< 2'
|
|
install: "bundle install --jobs=3 --retry=3"
|
|
|
|
env:
|
|
- DATABASE_ADAPTER=sqlite3
|
|
- DATABASE_ADAPTER=postgresql
|
|
|
|
rvm:
|
|
- 2.6.0
|
|
- 2.5.1
|
|
- 2.4.4
|
|
- 2.3.7
|
|
|
|
gemfile:
|
|
- gemfiles/4.2.gemfile
|
|
- gemfiles/5.0.gemfile
|
|
- gemfiles/5.1.gemfile
|
|
- gemfiles/5.2.gemfile
|
|
|
|
matrix:
|
|
exclude:
|
|
- rvm: 2.6.0
|
|
gemfile: gemfiles/4.2.gemfile
|