Sha256: 810b7309e105cbcb5ef0fc6f440c219a59bf0de014959db6b1677d966a81847f

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

#!/bin/bash

VERSIONS=(
  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

5 entries across 5 versions & 1 rubygems

Version Path
hamlit-2.2.4 bin/test
hamlit-2.3.1 bin/test
hamlit-2.3.0 bin/test
hamlit-2.2.3 bin/test
hamlit-2.2.2 bin/test