mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-20 11:14:37 +00:00
Multi-version testing for travis
This commit is contained in:
parent
71f9376c17
commit
a63219b7d0
25
.travis.yml
25
.travis.yml
@ -1,9 +1,26 @@
|
|||||||
language: python
|
language: python
|
||||||
|
env: HASS='homeassistant==0.38.4'
|
||||||
python:
|
python:
|
||||||
- "3.4"
|
- "3.4"
|
||||||
install:
|
matrix:
|
||||||
- pip3 install homeassistant
|
fast_finish: true
|
||||||
script:
|
include:
|
||||||
- hass -c . --script check_config
|
- python: "3.4"
|
||||||
|
env: HASS='homeassistant'
|
||||||
|
- python: "3.4"
|
||||||
|
env: HASS='https://github.com/home-assistant/home-assistant/archive/dev.zip'
|
||||||
|
allow_failures:
|
||||||
|
- python: "3.4"
|
||||||
|
env: HASS='homeassistant'
|
||||||
|
- python: "3.4"
|
||||||
|
env: HASS='https://github.com/home-assistant/home-assistant/archive/dev.zip'
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pip
|
||||||
before_install:
|
before_install:
|
||||||
- mv travis_secrets.yaml secrets.yaml
|
- mv travis_secrets.yaml secrets.yaml
|
||||||
|
install:
|
||||||
|
- pip3 install $HASS
|
||||||
|
- hass --version
|
||||||
|
script:
|
||||||
|
- hass -c . --script check_config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user