Skip to content

Commit

Permalink
Test with Alaska runtime on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
lautis committed Feb 24, 2015
1 parent 52d64f0 commit a1f6733
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ doc
# bundler
.bundle
Gemfile.lock
gemfiles/*.lock

# jeweler generated
pkg
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ matrix:
gemfile: gemfiles/rubyracer
- rvm: jruby-19mode
gemfile: gemfiles/rubyrhino
allow_failures:
- rvm: 2.2.0
gemfile: gemfiles/alaska
env: ALASKA=1
4 changes: 4 additions & 0 deletions gemfiles/alaska
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"

gemspec :path=> "../"
gem "alaska", github: "mavenlink/alaska"
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

if ENV["ALASKA"]
require 'alaska'
ExecJS.runtime = Alaska.new
end

RSpec.configure do |config|
config.mock_with :rspec do |mock|
mock.syntax = :expect
Expand Down

0 comments on commit a1f6733

Please sign in to comment.