Sha256: e7d7da43afa3b2c7d81321a4616d0e447daca06b4c00154061bb4c53bbfc06c6

Contents?: true

Size: 1.21 KB

Versions: 9

Compression:

Stored size: 1.21 KB

Contents

#!/usr/bin/env bash

set -e

my_dir="$( cd $(dirname $0) && pwd )"
release_dir="$( cd ${my_dir} && cd ../.. && pwd )"
workspace_dir="$( cd ${release_dir} && cd ../../../.. && pwd )"

pushd ${release_dir} > /dev/null

source ci/tasks/utils.sh

popd > /dev/null

check_param google_project
check_param google_json_key_data
check_param rake_task
check_param codecov_token

echo $google_json_key_data > `pwd`/service_account_key.json

cat >~/.fog <<EOL
test:
  google_project: ${google_project}
  google_json_key_location: `pwd`/service_account_key.json
EOL

pushd ${release_dir} > /dev/null

echo "Ruby version:"
ruby --version

echo "Bundler version:"
bundler --version

echo "Exporting bundler options..."

# Setting via local config options as BUNDLE_PATH appears to not work
# see https://github.com/rails/spring/issues/339
bundle config --local path ../../bundle
bundle config --local bin ../../bundle/bin

echo "Checking dependencies..."
# Check if dependencies are satisfied, otherwise kick off bundle install
bundle check || bundle install --jobs=3 --retry=3

echo "Dependencies resolved to:"
bundle list

echo "Starting test run..."
FOG_MOCK=false COVERAGE=true CODECOV_TOKEN=${codecov_token} rake ${rake_task}

popd > /dev/null

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fog-google-1.15.0 ci/tasks/run-int.sh
fog-google-1.14.0 ci/tasks/run-int.sh
gitlab-fog-google-1.14.0 ci/tasks/run-int.sh
fog-google-1.13.0 ci/tasks/run-int.sh
gitlab-fog-google-1.13.0 ci/tasks/run-int.sh
fog-google-1.12.1 ci/tasks/run-int.sh
fog-google-1.12.0 ci/tasks/run-int.sh
fog-google-1.11.0 ci/tasks/run-int.sh
fog-google-1.10.0 ci/tasks/run-int.sh