Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: third_party/protobuf/ruby/travis-test.sh

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/protobuf/ruby/tests/stress.rb ('k') | third_party/protobuf/six.BUILD » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env bash
2
3 # Exit on any error.
4 set -e
5
6 test_version() {
7 version=$1
8 if [ "$version" == "jruby" ] ; then
9 # No conformance tests yet -- JRuby is too broken to run them.
10 bash --login -c \
11 "rvm install $version && rvm use $version && \
12 which ruby && \
13 gem install bundler && bundle && \
14 rake test"
15 else
16 bash --login -c \
17 "rvm install $version && rvm use $version && \
18 which ruby && \
19 gem install bundler && bundle && \
20 rake test"
21 # TODO(xiaofeng): Conformance tests are disabled because the ruby testee
22 # program crashes on some inputs.
23 # cd ../conformance && \
24 # make test_ruby
25 fi
26 }
27
28 test_version $1
OLDNEW
« no previous file with comments | « third_party/protobuf/ruby/tests/stress.rb ('k') | third_party/protobuf/six.BUILD » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698