Skip to content

Commit

Permalink
Added new travis test runs that use yajl, multi_json and uuidtools
Browse files Browse the repository at this point in the history
We have a few extra code paths that will only be activated if we use
one of these gems. Adding them to the build matrix should cover those
cases with all the tests in the regular test suite.
  • Loading branch information
iainbeeston committed Oct 27, 2014
1 parent ef3ee43 commit d1a0b24
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,12 @@ rvm:
- "2.1.2"
- "jruby"
- "rbx"
# uncomment this line if your project needs to run something other than `rake`:
# script: bundle exec rspec spec
gemfile:
- Gemfile
- gemfiles/Gemfile.multi_json.x
- gemfiles/Gemfile.yajl-ruby.x
- gemfiles/Gemfile.uuidtools.x
matrix:
exclude:
- rvm: jruby
gemfile: gemfiles/Gemfile.yajl-ruby.x
9 changes: 9 additions & 0 deletions gemfiles/Gemfile.multi_json.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source "https://rubygems.org"

gemspec

gem "multi_json"

group :development do
gem "rake"
end
9 changes: 9 additions & 0 deletions gemfiles/Gemfile.uuidtools.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source "https://rubygems.org"

gemspec

gem "uuidtools"

group :development do
gem "rake"
end
9 changes: 9 additions & 0 deletions gemfiles/Gemfile.yajl-ruby.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source "https://rubygems.org"

gemspec

gem "yajl-ruby"

group :development do
gem "rake"
end

0 comments on commit d1a0b24

Please sign in to comment.