mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Try to fix issues with the qa and coverage steps
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -16,9 +16,9 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- python: 3.8
|
- python: 3.8
|
||||||
script:
|
script:
|
||||||
pip install coverage
|
- 'pip install coverage'
|
||||||
coverage run --source jedi -m pytest
|
- 'coverage run --source jedi -m pytest'
|
||||||
coverage report
|
- 'coverage report'
|
||||||
after_script:
|
after_script:
|
||||||
- |
|
- |
|
||||||
pip install --quiet codecov coveralls
|
pip install --quiet codecov coveralls
|
||||||
@@ -28,10 +28,10 @@ matrix:
|
|||||||
bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -X search -X fix -X xcode -f coverage.xml
|
bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -X search -X fix -X xcode -f coverage.xml
|
||||||
- python: 3.8
|
- python: 3.8
|
||||||
install:
|
install:
|
||||||
- pip install .[qa]
|
- 'pip install .[qa]'
|
||||||
script:
|
script:
|
||||||
# Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong.
|
# Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong.
|
||||||
- run: 'flake8 --extend-ignore F401 {posargs:jedi}'
|
- 'flake8 --extend-ignore F401 {posargs:jedi}'
|
||||||
install:
|
install:
|
||||||
- sudo apt-get -y install python3-venv
|
- sudo apt-get -y install python3-venv
|
||||||
- pip install .[testing]
|
- pip install .[testing]
|
||||||
|
|||||||
Reference in New Issue
Block a user