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

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

Issue 1322483002: Revert https://codereview.chromium.org/1291903002 (protobuf roll). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/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
(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 cd ../conformance && \
22 make test_ruby"
23 fi
24 }
25
26 test_version $1
OLDNEW
« no previous file with comments | « third_party/protobuf/ruby/tests/stress.rb ('k') | third_party/protobuf/src/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698