.travis.yaml file appears to be ignored

I;m just getting into using Travis and for some reason, it detects ruby as the language for a python library I’m developing. I have a travis yaml file in the root of my repository that reads as follows:

language: python

install:
  - pip install -r requirements.txt

script: pytest

I’ve seen two other topics that describe the same issue, but neither seem to apply - one was for a bug which should be fixed, the other, apparently because the user had indented the keys in the yaml file…

https://travis-ci.com/joelgraff/PyTrails/builds/126288858

The file should be called .travis.yml.

Whoops.

Thanks. :roll_eyes: