Skip to content

Commit

Permalink
ci: remove unused code from rake-test/run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Sep 28, 2019
1 parent 6385822 commit ca19eff
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions concourse/tasks/rake-test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,8 @@

set -e -x -u

VERSION_INFO=$(ruby -v)
RUBY_ENGINE=$(cut -d" " -f1 <<< "${VERSION_INFO}")
RUBY_VERSION=$(cut -d" " -f2 <<< "${VERSION_INFO}")

APT_UPDATED=false

function rbx-engine {
if [[ $RUBY_ENGINE == "rubinius" ]] ; then
return 0
fi
return 1
}

pushd loofah

if rbx-engine ; then
apt-get update
apt-get install -y ca-certificates gcc pkg-config libxml2-dev libxslt-dev
echo "gem 'racc'" >> Gemfile # https://github.com/rubinius/rubinius/issues/2632
fi

bundle install
bundle exec rake test

Expand Down

0 comments on commit ca19eff

Please sign in to comment.