I am trying to let Travis CI help me with checking my config. When I check_config from the command line, everything is working just fine, but the travis build keeps complaining about ‘packages’.
Fatal error while loading config: ‘packages’
To debug this I have created a fairly simple repo:
https://github.com/metbril/ha-config-test
(tail of) Travis CI build log:
$ hass -c . --script check_config
INFO:homeassistant.util.package:Attempting install of colorlog==3.1.2
Testing configuration at /home/travis/build/metbril/ha-config-test/.
Fatal error while loading config: 'packages'
Failed config
General Errors:
- 'packages'
Successful config (partial)
The command "hass -c . --script check_config" exited with 1.
Done. Your build exited with 1.
What could possibly be wrong/happening?