-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12389 from ccordoba12/pyls-subrepo
PR: Add a git subrepo for the python-language-server
- Loading branch information
Showing
94 changed files
with
10,659 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
version: 2 | ||
|
||
jobs: | ||
python2-test: | ||
docker: | ||
- image: "python:2.7-stretch" | ||
steps: | ||
- checkout | ||
- run: pip install -e .[all] .[test] | ||
- run: py.test -v test/ | ||
- run: pylint pyls test | ||
- run: pycodestyle pyls test | ||
- run: pyflakes pyls test | ||
|
||
python3-test: | ||
docker: | ||
- image: "python:3.5-stretch" | ||
steps: | ||
- checkout | ||
# To test Jedi environments | ||
- run: python3 -m venv /tmp/pyenv | ||
- run: /tmp/pyenv/bin/python -m pip install loghub | ||
- run: pip install -e .[all] .[test] | ||
- run: py.test -v test/ | ||
|
||
lint: | ||
docker: | ||
- image: "python:2.7-stretch" | ||
steps: | ||
- checkout | ||
- run: pip install -e .[all] .[test] | ||
- run: pylint pyls test | ||
- run: pycodestyle pyls test | ||
- run: pyflakes pyls test | ||
|
||
publish: | ||
docker: | ||
- image: "python:3.5-stretch" | ||
steps: | ||
- checkout | ||
- run: ./scripts/circle/pypi.sh | ||
|
||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- python2-test: | ||
filters: { tags: { only: /.*/ } } | ||
- python3-test: | ||
filters: { tags: { only: /.*/ } } | ||
- publish: | ||
filters: | ||
tags: | ||
only: /[0-9]+(\.[0-9]+)+((-(beta|rc)[0-9]{1,2})(\.[0-9])?)?/ | ||
branches: | ||
ignore: /.*/ | ||
requires: | ||
- python2-test | ||
- python3-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
omit = pyls/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pyls/_version.py export-subst |
Oops, something went wrong.