Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Travis tried to build my Python project with Rake #933

Closed
ajdavis opened this Issue · 6 comments

4 participants

@ajdavis

My project has a .travis.yml with language "python", script "python setup.py test," and in all other ways is clearly a Python project, yet Travis tried to build it with Ruby and Rake:

https://travis-ci.org/mongodb/motor/builds/4802430

Obviously, the build failed with "No Rakefile found". Travis also ran a single build, ignoring the four Python versions listed.

@henrikhodne
Owner

Sounds like Travis either couldn't get the .travis.yml file or there was a parse error. The file looks good to me, though.

@ajdavis

Thanks, is there any way to get more debug info out of Travis, e.g. to see if it couldn't parse my YML file?

@joshk
Owner
@ajdavis

A later build properly used Python:

https://travis-ci.org/mongodb/motor/builds/4820231

The erroneous Ruby build coincided with a brief GitHub outage, I believe -- my own Jenkins server timed out trying to clone some GitHub repos around the same time. So I speculate that the Travis worker was scheduled to clone my repo, failed, and responded not by aborting the build, but by assuming that since there was no .travis.yml available it should default to using Rake?

@g2p

Would anyone be interested in reviving #414, #902, #778 (don't build without a .travis.yml, at least projects that had one previously)?

@joshk
Owner

Closing for now as we have added warnings when you don't have a .travis.yml present. We are continuing to look into this issue but are not able to change it in the short term as we also need to make sure warnings and notifications are in place for when you try to build a repo and are not sure why it isn't building.

Thanks for creating the issue.

@joshk joshk closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.