aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/travis-test.sh
diff options
context:
space:
mode:
authorGravatar Josh Haberman <jhaberman@gmail.com>2015-07-17 16:20:01 -0700
committerGravatar Josh Haberman <jhaberman@gmail.com>2015-07-17 16:20:01 -0700
commit95ee8fb88ec8482cf64a2e564227dcb662ebcfa6 (patch)
treedb98b01ce736919ea2de155d71d7f479e1c949ca /ruby/travis-test.sh
parent181c7f26360429b236ab833c746d10d97811931f (diff)
Exclude JRuby from conformance tests for now.
Change-Id: Id008ebac5159f773e1bde8b85acb2626cbd16de8
Diffstat (limited to 'ruby/travis-test.sh')
-rwxr-xr-xruby/travis-test.sh23
1 files changed, 16 insertions, 7 deletions
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