Sha256: 814a6a5b4d5ecbb35603e5e153fe8ea3060f2ac62384772d468224ac3bf7aec6

Contents?: true

Size: 602 Bytes

Versions: 9

Compression:

Stored size: 602 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"
mv /vgs-api-client/tmp/Gemfile /vgs-api-client/
mv /vgs-api-client/tmp/vgs_api_client.gemspec /vgs-api-client/
bundle install --without production --binstubs
bundle exec rspec ./spec/*.rb

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vgs_api_client-0.0.1.alpha202204221503 scripts/test-e2e/run.sh
vgs_api_client-0.0.36 scripts/test-e2e/run.sh
vgs_api_client-0.0.1.alpha202204211429 scripts/test-e2e/run.sh
vgs_api_client-0.0.1.alpha202204211352 scripts/test-e2e/run.sh
vgs_api_client-0.0.1.alpha202204211336 scripts/test-e2e/run.sh
vgs_api_client-0.0.1.alpha202204211333 scripts/test-e2e/run.sh
vgs_api_client-0.0.1.alpha202204211319 scripts/test-e2e/run.sh
vgs_api_client-0.0.1.alpha202204211249 scripts/test-e2e/run.sh
vgs_api_client-0.0.1.alpha202204211056 scripts/test-e2e/run.sh