Sha256: 9d168ee44c84192601e4dad117281cbc1c738b87160581b88113024038ed2ef9

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

#!/bin/bash

VERSIONS=(
  2.0.0
  2.1.7
  2.2.3
  2.3.0
)

set -e
trap 'echo "${VERSIONS[2]}" > .ruby-version' 0

function test_with() {
  version=$1
  rbenv local $version
  if ! bundle check > /dev/null; then
    bundle install
  fi
  ruby -v
  rake test
}

for version in ${VERSIONS[@]}; do
  test_with $version
done

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hamlit-2.2.1 bin/test