Skip to content

Commit

Permalink
Merge branch 'SLE-15-GA'
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed May 4, 2018
2 parents 14b8b5f + 92adc37 commit 2495c4e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM yastdevel/ruby
FROM yastdevel/ruby:sle15
COPY . /usr/src/app

2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require "yast/rake"

Yast::Tasks.submit_to :sle15

Yast::Tasks.configuration do |conf|
# lets ignore license check for now
conf.skip_license_check << /.*/
Expand Down
9 changes: 9 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@
require "yast"
require "yast/rspec"

# stub module to prevent its Import
# Useful for modules from different yast packages, to avoid build dependencies
def stub_module(name)
Yast.const_set name.to_sym, Class.new { def self.fake_method; end }
end

# stub classes from other modules to speed up a build
stub_module("AutoInstall")

if ENV["COVERAGE"]
require "simplecov"
SimpleCov.start do
Expand Down

0 comments on commit 2495c4e

Please sign in to comment.