Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
b83347bd
Commit
b83347bd
authored
Dec 19, 2018
by
Guilhem Saurel
Browse files
no travis for private projects
parent
2e455888
Pipeline
#2022
passed with stages
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
b83347bd
...
...
@@ -386,7 +386,8 @@ class Project(Links, NamedModel, TimeStampedModel):
f
'
{
self
.
url_gitlab
()
}
/badges/master/coverage.svg?job=doc-coverage"'
,
'Coverage Report'
)
def
badges
(
self
):
return
self
.
badge_travis
()
+
self
.
badge_gitlab
()
+
self
.
badge_coverage
()
travis
=
self
.
badge_travis
()
if
self
.
public
else
''
return
travis
+
self
.
badge_gitlab
()
+
self
.
badge_coverage
()
class
Repo
(
TimeStampedModel
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment