Skip to content

Commit

Permalink
Exclude JRuby from conformance tests for now.
Browse files Browse the repository at this point in the history
Change-Id: Id008ebac5159f773e1bde8b85acb2626cbd16de8
  • Loading branch information
haberman committed Jul 17, 2015
1 parent 181c7f2 commit 95ee8fb
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions ruby/travis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@ set -e

test_version() {
version=$1
bash --login -c \
"rvm install $version && rvm use $version && \
which ruby && \
gem install bundler && bundle && \
rake test && \
cd ../conformance && \
make test_ruby"
if [ "$version" == "jruby" ] ; then
# No conformance tests yet -- JRuby is too broken to run them.
bash --login -c \
"rvm install $version && rvm use $version && \
which ruby && \
gem install bundler && bundle && \
rake test"
else
bash --login -c \
"rvm install $version && rvm use $version && \
which ruby && \
gem install bundler && bundle && \
rake test && \
cd ../conformance && \
make test_ruby"
fi
}

test_version $1

0 comments on commit 95ee8fb

Please sign in to comment.