Skip to content

Commit

Permalink
switch from Travis to Jenkins CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 20, 2015
1 parent 9e34cf3 commit e6d290d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .coveralls.yml
@@ -1 +1 @@
service_name: travis-ci
service_name: jenkins-ci
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

15 changes: 0 additions & 15 deletions Gemfile

This file was deleted.

17 changes: 16 additions & 1 deletion package/yast2-registration.spec
Expand Up @@ -46,6 +46,14 @@ BuildRequires: rubygem(suse-connect) >= 0.2.0
BuildRequires: yast2-slp >= 3.1.2
BuildRequires: yast2-packager >= 3.1.26

%if %run_ci_tests
BuildRequires: rubygem(rubocop)
BuildRequires: rubygem(coveralls)
BuildRequires: rubygem(simplecov)
BuildRequires: rubygem(gettext)
%endif


BuildArch: noarch

Summary: YaST2 - Registration Module
Expand All @@ -66,7 +74,14 @@ Authors:
%build

%check
rake test:unit
%if %run_ci_tests
# TODO FIXME: replace by something like 'rake check:ci'
rubocop
rake check:pot
COVERAGE=1 rake test:unit
%else
rake test:unit
%endif

%install
rake install DESTDIR="%{buildroot}"
Expand Down

0 comments on commit e6d290d

Please sign in to comment.