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

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

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 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/generated_code.rb ('k') | third_party/protobuf/src/Makefile.am » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 # Exit on any error. 3 # Exit on any error.
4 set -e 4 set -e
5 5
6 test_version() { 6 test_version() {
7 version=$1 7 version=$1
8 if [ "$version" == "jruby" ] ; then 8 if [ "$version" == "jruby" ] ; then
9 # No conformance tests yet -- JRuby is too broken to run them. 9 # No conformance tests yet -- JRuby is too broken to run them.
10 bash --login -c \ 10 bash --login -c \
11 "rvm install $version && rvm use $version && \ 11 "rvm install $version && rvm use $version && \
12 which ruby && \ 12 which ruby && \
13 gem install bundler && bundle && \ 13 gem install bundler && bundle && \
14 rake test" 14 rake test"
15 else 15 else
16 bash --login -c \ 16 bash --login -c \
17 "rvm install $version && rvm use $version && \ 17 "rvm install $version && rvm use $version && \
18 which ruby && \ 18 which ruby && \
19 gem install bundler && bundle && \ 19 gem install bundler && bundle && \
20 rake test" 20 rake test &&
21 # TODO(xiaofeng): Conformance tests are disabled because the ruby testee 21 cd ../conformance && make test_ruby"
22 # program crashes on some inputs.
23 # cd ../conformance && \
24 # make test_ruby
25 fi 22 fi
26 } 23 }
27 24
28 test_version $1 25 test_version $1
OLDNEW
« no previous file with comments | « third_party/protobuf/ruby/tests/generated_code.rb ('k') | third_party/protobuf/src/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698