Sha256: 0d1c568fe85735983333000d851f21f6e9f99af26d61cd4a33057730a2af26d6
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
#!/usr/bin/env bash set -e rm vgs_api_client-*.gem || true if [[ -n "$TEST_AGAINST_PUBLISHED_LIB_VERSION" ]]; then echo "Installing lib from rubygems.org ${TEST_AGAINST_PUBLISHED_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 ${TEST_AGAINST_PUBLISHED_LIB_VERSION} if [[ $? == 0 ]]; then echo "Installed ${TEST_AGAINST_PUBLISHED_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/test_api_spec.rb
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vgs_api_client-0.0.1.dev202204190437 | scripts/test/run.sh |