Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/.bundle/
/vendor/
/Gemfile.lock
*.jar
24 changes: 14 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
language: ruby
cache: bundler
rvm:
- jruby-9.0.5.0
- jruby-9.1.5.0
- jruby-head
jdk:
- openjdk7
before_install:
- gem install bundler
install: ./embulk.jar bundle install --path vendor/bundle
matrix:
include:
- env: EMBULK_VERSION=0.9.15
rvm: jruby-9.1.5.0 # bundled jruby version
jdk: openjdk8 # embulk 0.9.x uses jdk8
- env: EMBULK_VERSION=latest
rvm: jruby-9.1.5.0 # ?
jdk: openjdk8 # ?
allow_failures:
- rvm: jruby-head
- env: EMBULK_VERSION=latest
before_install:
- curl -o embulk.jar --create-dirs -L "http://dl.embulk.org/embulk-${EMBULK_VERSION}.jar"
- chmod +x embulk.jar
- ./embulk.jar gem install bundler
script: ./embulk.jar bundle exec rake test
8 changes: 7 additions & 1 deletion test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@

# require 'embulk/java/bootstrap'
require 'embulk'
Embulk.setup
begin
# Embulk ~> 0.8.x
Embulk.setup
rescue NotImplementedError
# Embulk ~> 0.9.x
require 'embulk/java/bootstrap'
end
Embulk.logger = Embulk::Logger.new('/dev/null')

APP_ROOT = File.expand_path('../', __dir__)
Expand Down