From 95ee8fb88ec8482cf64a2e564227dcb662ebcfa6 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Fri, 17 Jul 2015 16:20:01 -0700 Subject: Exclude JRuby from conformance tests for now. Change-Id: Id008ebac5159f773e1bde8b85acb2626cbd16de8 --- ruby/travis-test.sh | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'ruby') diff --git a/ruby/travis-test.sh b/ruby/travis-test.sh index 4a2536a5..9ec7eb22 100755 --- a/ruby/travis-test.sh +++ b/ruby/travis-test.sh @@ -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 -- cgit v1.2.3