-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
104 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
build: false | ||
|
||
environment: | ||
PYTHONIOENCODING: "UTF-8" | ||
|
||
matrix: | ||
- PYTHON: "C:/Python27-x64" | ||
- PYTHON: "C:/Python35-x64" | ||
- PYTHON: "C:/Python36-x64" | ||
- PYTHON: "C:/Python37-x64" | ||
|
||
|
||
install: | ||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | ||
|
||
# Upgrade to the latest version of pip to avoid it displaying warnings | ||
# about it being out of date. | ||
- "python -m pip install --disable-pip-version-check --user pip==18.1" | ||
|
||
# Installing Poetry | ||
- "python get-poetry.py --preview -y" | ||
- "SET PATH=%USERPROFILE%\\.poetry\\bin;%PATH%" | ||
|
||
# Install dependencies | ||
- "poetry install -v" | ||
|
||
test_script: | ||
- "poetry run pytest --cov=poetry tests/ -W ignore" |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ repos: | |
rev: stable | ||
hooks: | ||
- id: black | ||
language_version: python3.6 | ||
python_version: python3.6 |
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,35 @@ | ||
language: python | ||
|
||
stages: | ||
- linting | ||
- test | ||
|
||
cache: | ||
pip: true | ||
directories: | ||
- "$HOME/.cache/pypoetry" | ||
- "$HOME/.cache/pre-commit" | ||
|
||
install: | ||
- pip install pip==18.1 | ||
- python get-poetry.py --preview -y | ||
- source $HOME/.poetry/env | ||
- poetry install -v | ||
|
||
script: pytest -q tests/ | ||
|
||
jobs: | ||
include: | ||
- python: "2.7" | ||
- python: "3.5" | ||
- python: "3.6" | ||
- python: "3.7" | ||
dist: xenial | ||
|
||
- stage: linting | ||
python: "3.6" | ||
install: | ||
- pip install pre-commit | ||
- pre-commit install-hooks | ||
script: | ||
- pre-commit run --all-files |
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