Check_config Can't Find configuration.yaml (Local or Travis CI)

I recently moved my configuration onto GitHub and set up Travis CI per the documentation. The repository can be found here: https://github.com/stmrocket/Home-Assistant-Config

Here is my .travis.yml file:

language: python
python:
  - "3.6"
before_install:
  - mv travis_secrets.yaml secrets.yaml
  - sudo apt-get install -y libudev-dev
install:
  - pip3 install homeassistant
script:
  - hass -c . --script check_config

Unfortunately, Travis attempts to verify, I receive the following:

Testing configuration at /home/travis/build/stmrocket/Home-Assistant-Config/.
Failed config
  General Errors: 
    - File not found: /home/travis/build/stmrocket/Home-Assistant-Config/./configuration.yaml
Successful config (partial)
The command "hass -c . --script check_config" exited with 1.

Does anyone have a suggestion to help resolve this?

After performing more testing, including running ‘ls’ as the test script to verify the files are in place, I spun up a local VM and installed Home Assistant. When running check_config on my configuration file, I receive the same not found error as was returned by Travis. Replacing it with a clean file results in the test passing.

My file is working fine in Hassio 0.94.3 and tests good using the verify config button. Any idea what might cause the file to work there but fail as not found when tested with check_config?

I have exactly the same issue, I can’t understant what is wrong with my configuration.yaml and check_config. If I check it in hassos with “hassio homeassistant check” it is ok.

Sorry for the delay. I thought I had set this thread to send email notifications.

I finally got this resolved. In my case, I had added my zones.yaml file to my .gitignore to prevent it from uploading as it contains location coordinates. I needed to add a dummy file and tell Travis to copy that file to zones.yaml the same way the docs show to handle your secrets file. Without this, it would throw the not found error.

Perhaps you have a similar file?

Yes, this was the source of my problem too.
Two yaml files in .gitignore needs to be replaced with a placeholder for checking the config in Travis.