Sha256: 54c67a06f6fd519fbe7bb2ea709cdfafb1607adfb52b7cadf3d90550e53055d6
Contents?: true
Size: 589 Bytes
Versions: 15
Compression:
Stored size: 589 Bytes
Contents
#!/usr/bin/env bash set -e rm vgs_api_client-*.gem || true if [[ -n "${LIB_VERSION}" ]]; then echo "Installing lib from rubygems.org ${LIB_VERSION} ..." set +e ATTEMPT=1 while [ $ATTEMPT -lt 60 ]; 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 else echo "Installing lib from local sources" bundle install fi bundle exec rspec ./spec/*.rb
Version data entries
15 entries across 15 versions & 1 rubygems