Sha256: e03f37ce5ee913ea0748e15d5df257ce11d6120b30460ffdb34d8b18edd8eae1

Contents?: true

Size: 599 Bytes

Versions: 3

Compression:

Stored size: 599 Bytes

Contents

#!/bin/sh
set -e
RUBYCRITICLIMIT=${RUBYCRITICLIMIT:-"90.0"}
QUICK=${QUICK:-}

bundle exec rspec
bundle exec rubocop
if [ -z "$QUICK" ]; then
  gem install bundler-audit && bundle-audit update && bundle-audit check
  bundle exec rake rubycritic lib ${RUBYCRITICPARAMS}

  if [ "$TRAVIS_PULL_REQUEST" = "false" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
    echo "Pushing badges upstream"
    [ -d badges ] || mkdir badges
    cp coverage/coverage_badge* badges/ 2>/dev/null || true
    cp -r coverage coverage_info 2>/dev/null || true
    cp -r tmp/rubycritic rubycritic 2>/dev/null || true
  fi

fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rabbitmq_client-0.0.3 script/travis.sh
rabbitmq_client-0.0.2 script/travis.sh
rabbitmq_client-0.0.1 script/travis.sh