Sha256: 12761a89322b88dee6d11dec34d1410cdda98407824543b242a7895ba2540b7b

Contents?: true

Size: 854 Bytes

Versions: 3

Compression:

Stored size: 854 Bytes

Contents

#!/bin/bash

ruby_v=$(ruby -v)

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

if [[ ! $ruby_v =~ '2.2.0' ]]; then
  ACTIVEMODEL_VERSION='5.2' bundle update
  ACTIVEMODEL_VERSION='5.2' ENABLE_TRANSITIONS='true' bundle exec rake test
  ACTIVEMODEL_VERSION='5.2' ENABLE_TRANSITIONS='false' 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='true' bundle exec rake test
  ACTIVEMODEL_VERSION='6.0' ENABLE_TRANSITIONS='false' bundle exec rake test
fi

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
u-case-3.0.0 .travis.sh
u-case-3.0.0.rc9 .travis.sh
u-case-3.0.0.rc8 .travis.sh