Sha256: c540e717ba7b24fa47c94401082d95e2e389db66febf72f6b7b62b510b6422db

Contents?: true

Size: 472 Bytes

Versions: 7

Compression:

Stored size: 472 Bytes

Contents

#!/bin/bash

ruby_v=$(ruby -v)

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

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

bundle update
bundle exec rake test

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
u-case-3.0.0.rc7 .travis.sh
u-case-3.0.0.rc6 .travis.sh
u-case-3.0.0.rc5 .travis.sh
u-case-3.0.0.rc4 .travis.sh
u-case-3.0.0.rc3 .travis.sh
u-case-3.0.0.rc2 .travis.sh
u-case-3.0.0.rc1 .travis.sh