From a63219b7d0efa4b98b36743aeec1e150102eb5e0 Mon Sep 17 00:00:00 2001 From: tradiuz Date: Wed, 22 Feb 2017 09:52:52 -0600 Subject: [PATCH] Multi-version testing for travis --- .travis.yml | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4729981f..3f2c19d4 100755 --- a/.travis.yml +++ b/.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