Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error on travis-ci build "No Rakefile found"

Tags:

r

travis-ci

One github repo builds fine on travis, while another with almost exactly the same .travis.yaml file does not build, and gives the error

rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

I have seen some discussions about travis yaml files not dealing with tabs correctly, etc. but I have checked there are no tabs, only whitespaces.

I have noticed that the config line on the travis dashboard has an entry for the repo that builds correctly

the one that works

while the one that doesn't build is missing that line

the one that doesn't work

However, they have the same yaml file more or less, so I don't understand why it doesn't work the same way.

The yaml for the repo that builds

And the one that doesn't build (some comments are removed, but that doesn't make a difference, I checked):

like image 914
sckott Avatar asked Apr 11 '13 16:04

sckott


1 Answers

I think you should rename the file to .travis.yml.

Sometimes I see it used in a right way but here it is misspelled. That is why it is not executed.

like image 156
User Avatar answered Oct 09 '22 10:10

User