Sha256: 6333693584a91c4c9c96eef17b91464e44a8d3fc69c3335011c07114f24ff335

Contents?: true

Size: 1.79 KB

Versions: 5

Compression:

Stored size: 1.79 KB

Contents

language: ruby

branches:
  except:
    - images

rvm:
#  - 2.7.0 # Need to respond to warnings for Ruby 3.0
  - 2.6.5
#  - 2.5.7
#  - 2.4.9
#  - 2.3.8 #EOL

gemfile:
  - gemfiles/Gemfile.rails-4.2
  - gemfiles/Gemfile.rails-5.0
  - gemfiles/Gemfile.rails-5.1
  - gemfiles/Gemfile.rails-5.2
  - gemfiles/Gemfile.rails-6.0

env:
  - AN_ORM=active_record
  - AN_ORM=active_record AN_TEST_DB=mysql
  - AN_ORM=active_record AN_TEST_DB=postgresql
  - AN_ORM=mongoid
  - AN_ORM=mongoid AN_TEST_DB=mongodb
  - AN_ORM=dynamoid

matrix:
  exclude:
    - gemfile: gemfiles/Gemfile.rails-4.2
      env: AN_ORM=dynamoid
  include:
    - rvm: ruby-head
      gemfile: Gemfile
      env: AN_ORM=active_record
    - rvm: ruby-head
      gemfile: Gemfile
      env: AN_ORM=mongoid
    - rvm: ruby-head
      gemfile: Gemfile
      env: AN_ORM=dynamoid
  allow_failures:
    - rvm: ruby-head
  fast_finish: true

services:
  - mysql
  - postgresql
  - mongodb

sudo: false

cache: bundler

before_install:
  # Specify bundler version as '< 2.0' for Rails 4.2
  - gem install bundler --no-document -v '1.17.3'

install:
  # Specify bundler version as '< 2.0' for Rails 4.2
  - bundle _1.17.3_ install
  - if [ "$AN_ORM" = "dynamoid" ]; then bin/install_dynamodblocal.sh; fi

before_script:
  # Specify bundler version as '< 2.0' for Rails 4.2
  - bundle _1.17.3_ update
  - if [ "$AN_TEST_DB" = "mysql" ]; then mysql -e 'create database activity_notification_test'; fi
  - if [ "$AN_TEST_DB" = "postgresql" ]; then psql -c 'create database activity_notification_test' -U postgres; fi
  - if [ "$AN_ORM" = "dynamoid" ]; then bin/start_dynamodblocal.sh; fi
  - if [ "$AN_ORM" = "dynamoid" ]; then export AWS_DEFAULT_REGION=ap-northeast-1 AWS_ACCESS_KEY_ID=dummy AWS_SECRET_ACCESS_KEY=dummy; fi

script: bundle exec rspec

notifications:
  email: true

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activity_notification-2.1.4 .travis.yml
activity_notification-2.1.3 .travis.yml
activity_notification-2.1.2 .travis.yml
activity_notification-2.1.1 .travis.yml
activity_notification-2.1.0 .travis.yml