Skip to content

Commit

Permalink
Trying to fix travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan McClain committed Sep 4, 2012
1 parent a635459 commit 489b927
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ tmp
benchmark.rb
bin/*
.rbenv-version
lib/pg_array_parser.bundle
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ rvm:
- 1.9.3
- jruby-18mode
- jruby-19mode
before_script:
- rake install

notifications:
email: false
email:
- [email protected]
8 changes: 6 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ require 'rspec/core/rake_task'
spec = Gem::Specification.load('pg_array_parser.gemspec')

if RUBY_PLATFORM =~ /java/
require 'rake/javaextensiontask'
Rake::JavaExtensionTask.new('pg_array_parser', spec)
require 'rake/javaextensiontask'
Rake::JavaExtensionTask.new('pg_array_parser', spec)
else
require 'rake/extensiontask'
Rake::ExtensionTask.new('pg_array_parser', spec)
end

task :install => :compile
task :spec => :install

RSpec::Core::RakeTask.new(:spec)
Expand Down
1 change: 0 additions & 1 deletion lib/pg_array_parser.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require File.expand_path('../pg_array_parser/version', __FILE__)
require File.expand_path('../pg_array_parser', __FILE__)

if RUBY_PLATFORM =~ /java/
module PgArrayParser
Expand Down

0 comments on commit 489b927

Please sign in to comment.