• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / sonar / 1112
99%
master: 95%

Build:
Build:
LAST BUILD BRANCH: sonar-dev
DEFAULT BRANCH: master
Ran 26 Oct 2020 10:29AM UTC
Jobs 1
Files 112
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1112

push

travis-ci

sebastiendeleze
deposits: add license

This PR aims to add a license to deposit and document records. Moreover, the `usageAndAccessPolicy` will be added when a record is imported from RERO DOC.

* Creates a JSON schema for license property.
* Creates the `usageAndAccessPolicy` property in documents when the document is created from a deposit.
* Updates the `usageAndAccessPolicy` property of documents to match the specs.
* Adds a `license` property in deposit's JSON schema.
* Updates the conversion of field `540$a` to match the new structure of the `usageAndAccessPolicy` property.
* Adds a default license for RERO DOC documents if the license is not set.
* Makes the field `usageAndAccessPolicy` available when a document is serialized.
* Displays the license in document's detail view.
* Closes #324.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>

3363 of 3363 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1112.1 26 Oct 2020 10:29AM UTC 0
100.0
Travis Job 1112.1
Source Files on build 1112
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1112
  • e26dca4f on github
  • Prev Build on dev (#1108)
  • Next Build on dev (#1197)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc