-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
dc8a9a4
commit c0c62eb
Showing
7 changed files
with
157 additions
and
165 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 |
---|---|---|
@@ -1,90 +1,142 @@ | ||
jobs: | ||
- job: 'Windows' | ||
pool: | ||
vmImage: 'windows-latest' | ||
strategy: | ||
matrix: | ||
Python35_x86: | ||
python.version: '3.5' | ||
python.architecture: 'x86' | ||
Python35_x64: | ||
python.version: '3.5' | ||
python.architecture: 'x64' | ||
Python36_x86: | ||
python.version: '3.6' | ||
python.architecture: 'x86' | ||
Python36_x64: | ||
python.version: '3.6' | ||
python.architecture: 'x64' | ||
Python37_x86: | ||
python.version: '3.7' | ||
python.architecture: 'x86' | ||
Python37_x64: | ||
python.version: '3.7' | ||
python.architecture: 'x64' | ||
Python38_x86: | ||
python.version: '3.8' | ||
python.architecture: 'x86' | ||
Python38_x64: | ||
python.version: '3.8' | ||
python.architecture: 'x64' | ||
PyPy3: | ||
python.version: 'pypy3' | ||
python.architecture: 'x86' | ||
trigger: | ||
branches: | ||
include: | ||
- '*' | ||
tags: | ||
include: | ||
- 'v*' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
architecture: '$(python.architecture)' | ||
- script: python -m pip install --upgrade pip setuptools | ||
displayName: 'Install packaging tools' | ||
- script: python -m pip install --upgrade codecov | ||
displayName: 'Install codecov' | ||
- script: python -m pip install --force-reinstall -r requirements-tests.txt | ||
displayName: 'Install tests requirements' | ||
- script: pytest | ||
displayName: 'Run tests' | ||
- script: python -m doctest README.md | ||
displayName: 'Run doctests' | ||
- script: python -m codecov -f coverage.xml -X gcov | ||
condition: succeeded() | ||
displayName: 'Upload coverage' | ||
env: | ||
CODECOV_TOKEN: $(CODECOV_TOKEN) | ||
strategy: | ||
matrix: | ||
MacOs CPython3.5: | ||
image: 'macos-latest' | ||
python.version: '3.5' | ||
python.architecture: 'x64' | ||
MacOs CPython3.6: | ||
image: 'macos-latest' | ||
python.version: '3.6' | ||
python.architecture: 'x64' | ||
MacOs CPython3.7: | ||
image: 'macos-latest' | ||
python.version: '3.7' | ||
python.architecture: 'x64' | ||
MacOs CPython3.8: | ||
image: 'macos-latest' | ||
python.version: '3.8' | ||
python.architecture: 'x64' | ||
MacOs CPython3.9: | ||
image: 'macos-latest' | ||
python.version: '3.9' | ||
python.architecture: 'x64' | ||
MacOs PyPy3: | ||
image: 'macos-latest' | ||
python.version: 'pypy3' | ||
python.architecture: 'x64' | ||
Ubuntu CPython3.5: | ||
image: 'ubuntu-latest' | ||
python.version: '3.5' | ||
python.architecture: 'x64' | ||
Ubuntu CPython3.6: | ||
image: 'ubuntu-latest' | ||
python.version: '3.6' | ||
python.architecture: 'x64' | ||
Ubuntu CPython3.7: | ||
image: 'ubuntu-latest' | ||
python.version: '3.7' | ||
python.architecture: 'x64' | ||
Ubuntu CPython3.8: | ||
image: 'ubuntu-latest' | ||
python.version: '3.8' | ||
python.architecture: 'x64' | ||
Ubuntu CPython3.9: | ||
image: 'ubuntu-latest' | ||
python.version: '3.9' | ||
python.architecture: 'x64' | ||
Ubuntu PyPy3: | ||
image: 'ubuntu-latest' | ||
python.version: 'pypy3' | ||
python.architecture: 'x64' | ||
Windows CPython3.5 (x86): | ||
image: 'windows-latest' | ||
python.version: '3.5' | ||
python.architecture: 'x86' | ||
Windows CPython3.5 (x64): | ||
image: 'windows-latest' | ||
python.version: '3.5' | ||
python.architecture: 'x64' | ||
Windows CPython3.6 (x86): | ||
image: 'windows-latest' | ||
python.version: '3.6' | ||
python.architecture: 'x86' | ||
Windows CPython3.6 (x64): | ||
image: 'windows-latest' | ||
python.version: '3.6' | ||
python.architecture: 'x64' | ||
Windows CPython3.7 (x86): | ||
image: 'windows-latest' | ||
python.version: '3.7' | ||
python.architecture: 'x86' | ||
Windows CPython3.7 (x64): | ||
image: 'windows-latest' | ||
python.version: '3.7' | ||
python.architecture: 'x64' | ||
Windows CPython3.8 (x86): | ||
image: 'windows-latest' | ||
python.version: '3.8' | ||
python.architecture: 'x86' | ||
Windows CPython3.8 (x64): | ||
image: 'windows-latest' | ||
python.version: '3.8' | ||
python.architecture: 'x64' | ||
Windows CPython3.9 (x86): | ||
image: 'windows-latest' | ||
python.version: '3.9' | ||
python.architecture: 'x86' | ||
Windows CPython3.9 (x64): | ||
image: 'windows-latest' | ||
python.version: '3.9' | ||
python.architecture: 'x64' | ||
Windows PyPy3: | ||
image: 'windows-latest' | ||
python.version: 'pypy3' | ||
python.architecture: 'x86' | ||
|
||
- job: 'MacOS' | ||
pool: | ||
vmImage: 'macOS-latest' | ||
strategy: | ||
matrix: | ||
Python35: | ||
python.version: '3.5' | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
Python38: | ||
python.version: '3.8' | ||
PyPy3: | ||
python.version: 'pypy3' | ||
pool: | ||
vmImage: $(image) | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
- script: python -m pip install --upgrade pip setuptools | ||
displayName: 'Install packaging tools' | ||
- script: python -m pip install --upgrade codecov | ||
displayName: 'Install codecov' | ||
- script: python -m pip install --force-reinstall -r requirements-tests.txt | ||
displayName: 'Install tests requirements' | ||
- script: pytest | ||
displayName: 'Run tests' | ||
- script: python -m doctest README.md | ||
displayName: 'Run doctests' | ||
- script: python -m codecov -f coverage.xml -X gcov | ||
condition: succeeded() | ||
displayName: 'Upload coverage' | ||
env: | ||
CODECOV_TOKEN: $(CODECOV_TOKEN) | ||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
architecture: '$(python.architecture)' | ||
- script: python -m doctest README.md | ||
displayName: 'Run doctests' | ||
- script: python -m pip install --upgrade pip setuptools | ||
displayName: 'Install packaging tools' | ||
- script: python -m pip install -r requirements-tests.txt | ||
displayName: 'Install tests dependencies' | ||
- script: pytest | ||
displayName: 'Run tests' | ||
- script: python -m pip install --upgrade codecov | ||
condition: succeeded() | ||
displayName: 'Install coverage dependencies' | ||
- script: python -m codecov -f coverage.xml -X gcov | ||
condition: succeeded() | ||
displayName: 'Upload coverage' | ||
env: | ||
CODECOV_TOKEN: $(CODECOV_TOKEN) | ||
- script: python -m pip install --upgrade wheel | ||
condition: and(succeeded(), eq(variables['python.version'], '3.5'), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) | ||
displayName: 'Install build dependencies' | ||
- script: python setup.py sdist bdist_wheel | ||
condition: and(succeeded(), eq(variables['python.version'], '3.5'), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) | ||
displayName: 'Build' | ||
- script: python -m pip install --upgrade twine | ||
condition: and(succeeded(), eq(variables['python.version'], '3.5'), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) | ||
displayName: 'Install deploy dependencies' | ||
- script: twine upload --skip-existing dist/* | ||
condition: and(succeeded(), eq(variables['python.version'], '3.5'), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) | ||
displayName: 'Deploy' | ||
env: | ||
TWINE_USERNAME: __token__ | ||
TWINE_PASSWORD: $(TWINE_PASSWORD) |
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 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Auto __repr__ method generation.""" | ||
|
||
__version__ = '0.3.0' | ||
__version__ = '0.3.1' |