Skip to content

Commit

Permalink
Pipeline updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Jun 22, 2019
1 parent 948b6a1 commit 6395675
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .pipelines/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
trigger:
- master
branches:
include:
- master
paths:
include:
- docs/*
- "mkdocs.yml"

pool:
vmImage: 'ubuntu-16.04'
Expand All @@ -8,6 +14,11 @@ steps:
- checkout: self
persistCredentials: true

- task: UsePythonVersion@0
displayName: 'Set 3.7.X as Python version'
inputs:
versionSpec: '3.7.x'

- script: python3 -m pip install --upgrade pip setuptools wheel
displayName: 'Install tools'

Expand Down
22 changes: 22 additions & 0 deletions .pipelines/load_hacs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
trigger:
- "*"

pool:
vmImage: 'ubuntu-16.04'

steps:
- task: UsePythonVersion@0
displayName: 'Set 3.7.x as Python version'
inputs:
versionSpec: '3.7.x'

- script: python3 -m pip install --upgrade pip setuptools wheel
displayName: 'Install tools'

- script: |
python3 -m pip install homeassistant
python3 -m pip install -r requirements.txt
displayName: 'Install dependencies'
- script: "python3 -c 'from custom_components import hacs'"
displayName: 'Load HACS'
File renamed without changes.

0 comments on commit 6395675

Please sign in to comment.