Travis CI error with hacs integration

Hi,

a bit special question:
I used travis ci long time for check my config on github. Long time i did not use them anymore. Now i like to update my hole config and start to use them now.
On my configuration.yaml i have specified the hacs component:

hacs:
  token: !secret github_key
  appdaemon: true

The hacs folder is located unter custom_components (i recently updated it). But my travis-ci build gives me following error:

Failed config
  General Errors: 
    - Component error: hacs - Integration 'hacs' not found.
Successful config (partial)
The command "hass -c . --script check_config" exited with 1.

As far as i see, i have all installed correctly. Maybe someone of you can help my with this issue.

You need to include your custom_components folder in your repo.

I have. U can have a look at it

If I remember correctly the hacs customers component has a ‘hidden folder’ (one starting with a dot - maybe .translations or something?) inside the that is required for it to function. Your hacs folder does not contain it.

Oh. Yes, i see. But its in the folder on my pc. Then i will debug the git push. Thanks.

1 Like

You can also add the custom components in the travis build file.