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

galaxyproject / planemo / 289
76%
master: 71%

Build:
Build:
LAST BUILD BRANCH: merge_test_reports
DEFAULT BRANCH: master
Ran 17 Apr 2015 02:46PM UTC
Jobs 2
Files 45
Run time 23s
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
289

push

travis-ci

jmchilton
Use XSD to lint tools and repositories.

 - Implement validation abstraction that will use either lxml (Python lib) or xmllint (command line app) dependending on what is available - with test cases.
 - Add a ``--xsd`` flag to the lint command that lints against the experimental XSD from https://github.com/JeanFred/Galaxy-XSD.
 - Implement ``repository_dependencies.xsd`` to describe Tool Shed ``repository_dependencies.xml`` files (fairly complete).
 - Implement ``tool_dependencies.xsd`` to describe Tool Shed ``tool_dependencies.xml`` files.
   - Validates attributes and elements down to the ``action`` elements and then largely gives up (sticking ``any`` and ``anyAttribute`` tags on that element).
   - Registers everything in tools-devteam as valid, and detects one invalid XML file in tools-iuc.
 - Implement new ``shed_lint`` command that:
   - Validates tool_dependencies.xml against schema
   - Validates repository_dependencies.xml against schema
   - Bare minimum to lint .shed.yml files.
   - Optionally also lints tools in repsitories with the ``--tools`` argument.
   - Can recursively lint many repositories at ont time ``-r``.
 - Refactoring of existing stuff to support this and make room for XSD validation of tool XML files and generalizing applying actions over many repositories and many tools.

236 of 236 new or added lines in 12 files covered. (100.0%)

1179 of 1836 relevant lines covered (64.22%)

1.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
100.0
planemo/commands/cmd_shed_upload.py
6
100.0
planemo/commands/cmd_shed_lint.py
7
100.0
planemo/shed.py
8
100.0
planemo/lint.py
9
100.0
planemo/tool_lint.py
10
100.0
planemo/linters/xsd.py
11
100.0
planemo/xml/validation.py
39
100.0
planemo/shed_lint.py

Uncovered Existing Lines

Lines Coverage ∆ File
8
100.0
planemo/galaxy_test.py
23
100.0
planemo/commands/cmd_shed_upload.py
42
100.0
planemo/shed.py
Jobs
ID Job ID Ran Files Coverage
1 289.1 17 Apr 2015 02:46PM UTC 0
64.22
Travis Job 289.1
2 289.2 17 Apr 2015 02:46PM UTC 0
64.22
Travis Job 289.2
Source Files on build 289
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #289
  • 912df026 on github
  • Prev Build on xsd (#288)
  • Next Build on xsd (#291)
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