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

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

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: Created 3 years, 12 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
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-1.7" ] ; 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 && rvm get head && \ 11 "rvm install $version && rvm use $version && \
12 which ruby && \ 12 which ruby && \
13 git clean -f && \
14 gem install bundler && bundle && \ 13 gem install bundler && bundle && \
15 rake test" 14 rake test"
16 else 15 else
17 bash --login -c \ 16 bash --login -c \
18 "rvm install $version && rvm use $version && \ 17 "rvm install $version && rvm use $version && \
19 which ruby && \ 18 which ruby && \
20 git clean -f && \
21 gem install bundler && bundle && \ 19 gem install bundler && bundle && \
22 rake test && 20 rake test &&
23 cd ../conformance && make test_ruby" 21 cd ../conformance && make test_ruby"
24 fi 22 fi
25 } 23 }
26 24
27 test_version $1 25 test_version $1
OLDNEW
« no previous file with comments | « third_party/protobuf/ruby/tests/well_known_types_test.rb ('k') | third_party/protobuf/src/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698