Skip to content

Commit

Permalink
run coveralls at Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 29, 2015
1 parent 50251a3 commit 0ed2278
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package/yast2-registration.spec
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ Authors:

%check
%if 0%{?run_ci_tests}
LC_ALL=en_US.UTF-8 rake --verbose --trace check:ci
LC_ALL=en_US.UTF-8 COVERALLS_REPO_TOKEN=%{coveralls_repo_token} \
rake --verbose --trace check:ci
%else
rake test:unit
%endif
Expand Down
2 changes: 1 addition & 1 deletion test/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require "simplecov"

# use coveralls for on-line code coverage reporting at Travis CI
if ENV["TRAVIS"]
if ENV["JENKINS_URL"]
require "coveralls"

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
Expand Down

0 comments on commit 0ed2278

Please sign in to comment.