mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-03-13 17:21:33 +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
|
||||
env: HASS='homeassistant==0.38.4'
|
||||
python:
|
||||
- "3.4"
|
||||
install:
|
||||
- pip3 install homeassistant
|
||||
script:
|
||||
- hass -c . --script check_config
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- 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:
|
||||
- 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