Sha256: 6606db8618f1ba51bb524923376046d4916c7aa7e9dc2a14c0da40ec925e1358

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

#!/usr/bin/env bash

set -e

echo "Installing lib from rubygems.org ${LIB_VERSION} ..."

set +e
ATTEMPT=1
while [  $ATTEMPT -lt 10 ]; do
  echo "Attempt ${ATTEMPT} ..."

  bundle install --without production --binstubs
  gem install vgs_api_client -v ${LIB_VERSION}

  if [[ $? == 0 ]]; then
    echo "Installed ${LIB_VERSION}"
    break
  fi

  ATTEMPT=$((ATTEMPT+1))

  sleep 5
done
set -e

echo "Running tests"
bundle install
bundle exec rspec ./spec/*.rb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vgs_api_client-0.0.1.alpha202204211328 scripts/test-e2e/run.sh