-
Notifications
You must be signed in to change notification settings - Fork 61
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 #61 from NabuCasa/dev
Release 0.13
- Loading branch information
Showing
9 changed files
with
110 additions
and
17 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,4 @@ | ||
template: | | ||
## What’s Changed | ||
$CHANGES |
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 +1,3 @@ | ||
[![Build Status](https://dev.azure.com/NabuCasa/OpenSource/_apis/build/status/hass-nabucasa?branchName=dev)](https://dev.azure.com/NabuCasa/OpenSource/_build/latest?definitionId=2&branchName=dev) | ||
|
||
## Cloud integration in Home Assistant |
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,77 @@ | ||
# https://dev.azure.com/NabuCasa/OpenSource | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- master | ||
- dev | ||
tags: | ||
include: | ||
- '*' | ||
exclude: | ||
- untagged* | ||
pr: | ||
- dev | ||
|
||
variables: | ||
- group: twine | ||
|
||
|
||
jobs: | ||
|
||
- job: "Tox" | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
strategy: | ||
matrix: | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
steps: | ||
- task: UsePythonVersion@0 | ||
displayName: 'Use Python $(python.version)' | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
- script: pip install tox | ||
displayName: 'Install Tox' | ||
- script: tox | ||
displayName: 'Run Tox' | ||
|
||
|
||
- job: 'Black' | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
steps: | ||
- task: UsePythonVersion@0 | ||
displayName: 'Use Python 3.7' | ||
inputs: | ||
versionSpec: '3.7' | ||
- script: pip install black | ||
displayName: 'Install black' | ||
- script: black --check hass_nabucasa tests | ||
displayName: 'Run Black' | ||
|
||
|
||
- job: 'Release' | ||
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('Tox'), succeeded('Black')) | ||
dependsOn: | ||
- 'Tox' | ||
- 'Black' | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
steps: | ||
- task: UsePythonVersion@0 | ||
displayName: 'Use Python 3.7' | ||
inputs: | ||
versionSpec: '3.7' | ||
- script: pip install twine | ||
displayName: 'Install twine' | ||
- script: python setup.py sdist | ||
displayName: 'Build package' | ||
- script: | | ||
export TWINE_USERNAME="$(twineUser)" | ||
export TWINE_PASSWORD="$(twinePassword)" | ||
twine upload dist/* | ||
displayName: 'Upload pypi' |
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,6 +1,6 @@ | ||
from setuptools import setup | ||
|
||
VERSION = "0.12" | ||
VERSION = "0.13" | ||
|
||
setup( | ||
name="hass-nabucasa", | ||
|
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