Skip to content

Commit

Permalink
Merge pull request #165 from yast/jenkins_support
Browse files Browse the repository at this point in the history
Jenkins support
  • Loading branch information
lslezak committed Mar 4, 2016
2 parents 63af255 + 4fd4e96 commit 596b986
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Yast2-ruby-bindings

Travis: [![Build Status](https://travis-ci.org/yast/yast-ruby-bindings.svg?branch=master)](https://travis-ci.org/yast/yast-ruby-bindings)
Jenkins: [![Jenkins Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-ruby-bindings-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-ruby-bindings-master/)
[![Travis Build Status](https://travis-ci.org/yast/yast-ruby-bindings.svg?branch=master)](https://travis-ci.org/yast/yast-ruby-bindings)
[![Jenkins Build Status](http://ci.opensuse.org/buildStatus/icon?job=yast-ruby-bindings-master)](http://ci.opensuse.org/view/Yast/job/yast-ruby-bindings-master/)

It is part of [YaST](http://yast.github.io) where you can find more information
about YaST and its component system. The Ruby bindings cover only the connection to
Expand Down
13 changes: 13 additions & 0 deletions package/yast2-ruby-bindings.spec
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ BuildRequires: yast2-ycp-ui-bindings-devel >= 2.21.9
BuildRequires: libyui-ncurses >= 2.47.3
# The mentioned test requires screen in order to be executed in headless systems
BuildRequires: screen

# Unfortunately we cannot move this to macros.yast,
# bcond within macros are ignored by osc/OBS.
%bcond_with yast_run_ci_tests
%if %{with yast_run_ci_tests}
BuildRequires: rubygem(yast-rake-ci)
%endif

Requires: ruby
Summary: Ruby bindings for the YaST platform
License: GPL-2.0
Expand Down Expand Up @@ -80,6 +88,11 @@ cd build
make test ARGS=-V
cd -

# run extra CI checks (in Jenkins)
%if %{with yast_run_ci_tests}
%yast_ci_check
%endif

%files
%defattr (-, root, root)
%{_libdir}/YaST2/plugin/libpy2lang_ruby.so
Expand Down

0 comments on commit 596b986

Please sign in to comment.