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

Valloric / ycmd / 1082
94%

Build:
DEFAULT BRANCH: master
Ran 05 Jan 2016 03:19PM UTC
Jobs 1
Files 40
Run time 1s
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
1082

push

travis-ci

homu
Auto merge of #246 - vheon:feature-jedihttp, r=micbou

[READY] Use a http wrapper for jedi

This is the first step to support python completions for python version different from the one ycmd is currently running.

# What this change does

The jedi library is still used, but instead of calling it directly we now wrapped in a http+JSON server.

# Testing

~~The test have been updated to solicit the completer first with a `FileReadyToParse` event, which would start a JediHTTP server if one is not running (similarly to the `OmnisharpServer` tests). The tests for the `GoTo` subcommand family have been updated to test all three of the subcommands.~~

# Notes

Two subcommand have been added: `RestartServer` and `StopServer` but only the `RestartServer` is exposed through the user by the `DefinedSubcommand` method, this is because I think that the `StopServer` command is not useful for the user but is useful in the testing phase for shutting down the JediHTTP.

I have one question: would make sense to rename any reference from `jedi_completer` to `python_completer`? If it is I will make another PR.

@reinhrst If you could test this would be awesome :)

Fixes Valloric/YouCompleteMe#1827

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/246)
<!-- Reviewable:end -->

138 of 138 new or added lines in 1 file covered. (100.0%)

2381 of 2910 relevant lines covered (81.82%)

0.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
100.0
ycmd/completers/python/jedi_completer.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
ycmd/completers/python/jedi_completer.py
Jobs
ID Job ID Ran Files Coverage
5 1082.5 (USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7 COVERAGE=true) 05 Jan 2016 03:19PM UTC 0
81.82
Travis Job 1082.5
Source Files on build 1082
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1082
  • a77ffa88 on github
  • Prev Build on master (#1055)
  • Next Build on master (#1085)
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