Sha256: 1bfb28ca173d4dc08626d66168bed8a873e9ba8905dc721834743006f6808dc3

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

dist: focal
language: ruby
cache:
  directories:
     - ~/.rvm/gems
services:
  - postgresql
  - mysql
branches:
  only:
  - master
addons:
  postgresql: '12'
  apt:
    packages:
      - postgresql-12
      - postgresql-client-12
rvm:
  - "2.6.8"
  - "2.7.4"
  - "3.0.2"
gemfile:
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
  - gemfiles/rails_6.1.gemfile
matrix:
  exclude:
    - rvm: "3.0.2"
      gemfile: gemfiles/rails_5.2.gemfile
env:
  global:
  - PGUSER=postgres
  - PGPORT=5432
  - PGHOST=localhost
  jobs:
  - DB=postgresql
  - DB=sqlite3
  - DB=mysql2
before_install:
  - sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf
  - sudo service postgresql restart
  - sleep 1
  - postgres --version
  - if [ "$BUNDLE_GEMFILE" = "$PWD/gemfiles/rails_4.2.gemfile" ]; then gem install bundler -v '1.17.3'; else gem install bundler -v '> 2'; fi
install:
  - if [ "$BUNDLE_GEMFILE" = "$PWD/gemfiles/rails_4.2.gemfile" ]; then bundle _1.17.3_ update; else bundle update; fi
before_script:
  - psql -c 'create database counter_culture_test;' -U postgres
  - mysql -e 'CREATE DATABASE counter_culture_test;'
script: TRAVIS=true bundle exec rake spec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
counter_culture-3.1.0 .travis.yml
counter_culture-3.0.0 .travis.yml