Sha256: 99d5eb1858dea18bd53d6f01609eafd52c3f57f1a270035751771ad0c95474c1

Contents?: true

Size: 854 Bytes

Versions: 4

Compression:

Stored size: 854 Bytes

Contents

#!/bin/bash

ruby_v=$(ruby -v)

ACTIVEMODEL_VERSION='3.2' bundle update
ACTIVEMODEL_VERSION='3.2' ENABLE_TRANSITIONS='false' bundle exec rake test
ACTIVEMODEL_VERSION='3.2' ENABLE_TRANSITIONS='true' bundle exec rake test

if [[ ! $ruby_v =~ '2.2.0' ]]; then
  ACTIVEMODEL_VERSION='5.2' bundle update
  ACTIVEMODEL_VERSION='5.2' ENABLE_TRANSITIONS='false' bundle exec rake test
  ACTIVEMODEL_VERSION='5.2' ENABLE_TRANSITIONS='true' bundle exec rake test
fi

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

bundle update
ENABLE_TRANSITIONS='false' bundle exec rake test
ENABLE_TRANSITIONS='true' bundle exec rake test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
u-case-4.1.1 .travis.sh
u-case-4.1.0 .travis.sh
u-case-4.0.0 .travis.sh
u-case-3.1.0 .travis.sh