language: python

python: "3.7.7"

before_install:
  - mv ./config/secrets.example.yaml ./config/secrets.yaml
  - sed -e '/hacs/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml
  - sed -e '/uilogs/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml
  - sed -e '/spotcast/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml
  - sed -e '/youtube/,+2d' < ./config/configuration.yaml > ./config/configuration.yaml

install:
  - pip3 install homeassistant
  - pip3 install colorlog
  - pip3 install python-dateutil

script:
  - hass -c ./config --script check_config --info all
