Sha256: 84a0b06e7dc0c71df27690842c2b22954c081f79a48413775d4cf3dc0936e0b3

Contents?: true

Size: 933 Bytes

Versions: 6

Compression:

Stored size: 933 Bytes

Contents

#!/bin/bash

ruby_v=$(ruby -v)

bundle update
bundle exec rake test

ACTIVERECORD_VERSION='3.2' bundle update
ACTIVERECORD_VERSION='3.2' bundle exec rake test

ACTIVERECORD_VERSION='4.0' bundle update
ACTIVERECORD_VERSION='4.0' bundle exec rake test

ACTIVERECORD_VERSION='4.1' bundle update
ACTIVERECORD_VERSION='4.1' bundle exec rake test

ACTIVERECORD_VERSION='4.2' bundle update
ACTIVERECORD_VERSION='4.2' bundle exec rake test

ACTIVERECORD_VERSION='5.0' bundle update
ACTIVERECORD_VERSION='5.0' bundle exec rake test

ACTIVERECORD_VERSION='5.1' bundle update
ACTIVERECORD_VERSION='5.1' bundle exec rake test

if [[ ! $ruby_v =~ '2.2.0' ]]; then
  ACTIVERECORD_VERSION='5.2' bundle update
  ACTIVERECORD_VERSION='5.2' bundle exec rake test
fi

if [[ $ruby_v =~ '2.5.' ]] || [[ $ruby_v =~ '2.6.' ]] || [[ $ruby_v =~ '2.7.' ]]; then
  ACTIVERECORD_VERSION='6.0' bundle update
  ACTIVERECORD_VERSION='6.0' bundle exec rake test
fi

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
u-observers-2.3.0 .travis.sh
u-observers-2.2.1 .travis.sh
u-observers-2.2.0 .travis.sh
u-observers-2.1.0 .travis.sh
u-observers-2.0.0 .travis.sh
u-observers-1.0.0 .travis.sh