Skip to content

Commit 1086e55

Browse files
committed
update travis config for varint/no-varint builds
and don't try to build a C ext in jruby builds
1 parent a479dbb commit 1086e55

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
language: ruby
2+
gemfile:
3+
- Gemfile
4+
# i can't find a way to use the same Gemfile and just specify --without varint
5+
- Gemfile.no_varint
26
rvm:
37
- "1.8.7"
48
- "1.9.3"
59
- jruby-18mode # JRuby in 1.8 mode
610
- jruby-19mode # JRuby in 1.9 mode
711
- rbx-18mode
812
- rbx-19mode
9-
# uncomment this line if your project needs to run something other than `rake`:
10-
# script: bundle exec rspec spec
11-
13+
matrix:
14+
exclude:
15+
# can't use the varint extension in jruby runs
16+
- rvm: jruby-18mode
17+
gemfile: Gemfile
18+
- rvm: jruby-19mode
19+
gemfile: Gemfile

Gemfile.no_varint

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source "https://rubygems.org"
2+
3+
# Specify your gem's dependencies in ruby-protocol-buffers.gemspec
4+
gemspec

0 commit comments

Comments
 (0)