Travis tried to build my Python project using rake

Hi everyone,

I have a pretty strange issue in my last build.
The project has a clear .travis.yml with language “python” but for some reason, travis tries to build it like it is in Ruby

https://travis-ci.com/atolab/yaks-python/builds/96914420

I have found this on github, but pushing another commit did not solved the problem
https://github.com/travis-ci/travis-ci/issues/933

Any idea? To me the .travis.yml seems correct…

Your .travis.yml has an unfortunate leading white space on the first line. This causes the lines after line 3 to be ignored, so there is nothing to indicate that it’s a language: python build.

1 Like

Thanks @BanzaiMan, you are right, I did not noticed that white space.
Thank you very much!