Sha256: ef10e9774bcbc716165bf73be61bee8b2138a5e63ea0b379f570ddcfd11a24c4

Contents?: true

Size: 620 Bytes

Versions: 1

Compression:

Stored size: 620 Bytes

Contents

language: ruby
rvm:
  - 2.6.10
  - 2.7.6
  - 3.0.4
  - 3.1.2

services:
  - mysql
  - postgresql

env:
  - DB=mysql
  - DB=postgres

before_script:
  - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'DROP DATABASE IF EXISTS friendly_fk_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'CREATE DATABASE friendly_fk_test;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS friendly_fk_test; CREATE DATABASE IF NOT EXISTS friendly_fk_test;'; fi"

before_install: gem install bundler -v 1.17.2
script:
 - bundle exec rspec spec
 - bundle exec rubocop

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
friendly_fk-1.0.20 .travis.yml